diff --git a/libsearch/index/search-manager.cpp b/libsearch/index/search-manager.cpp index 0c2979c..c7d5114 100644 --- a/libsearch/index/search-manager.cpp +++ b/libsearch/index/search-manager.cpp @@ -472,8 +472,8 @@ void DirectSearch::run() { } if(i.fileName().contains(m_keyword, Qt::CaseInsensitive)) { // qWarning() << i.fileName() << m_keyword; - if(m_searchResult->length() > 49) - return; +// if(m_searchResult->length() > 49) +// return; if((i.isDir() && m_value == DIR_SEARCH_VALUE)) { SearchPluginIface::ResultInfo ri; if(SearchManager::creatResultInfo(ri,i.absoluteFilePath())) { diff --git a/libsearch/plugininterface/data-queue.h b/libsearch/plugininterface/data-queue.h index 8e08a97..64c4fe8 100644 --- a/libsearch/plugininterface/data-queue.h +++ b/libsearch/plugininterface/data-queue.h @@ -7,7 +7,7 @@ namespace UkuiSearch { // TODO I want a unlocked queue template -class LIBSEARCH_EXPORT DataQueue : public QList +class LIBSEARCH_EXPORT DataQueue : protected QList { public: inline void enqueue(const T &t) {