4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-14 19:39:33 +00:00

Clean plugin lookup code

Do the proper query rather than use the default and blindly filter things
out
This commit is contained in:
Aleix Pol 2014-09-01 17:35:07 +02:00
parent bfe0784fde
commit 1563886480

@ -391,10 +391,7 @@ void ProviderManager::scan()
continue;
}
QStringList entryList = dir.entryList();
// filter out "." and ".." to keep debug output cleaner
entryList.removeAll(".");
entryList.removeAll("..");
QStringList entryList = dir.entryList(QDir::Files);
if(entryList.isEmpty())
{
logDebug(" (No files in 'crypto' subdirectory)");