1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

pluginmanager: fix support for old Qt5

This commit is contained in:
Davide Gerhard 2019-05-16 13:14:38 +02:00
parent 100b838fb6
commit 3edc7b18f4
No known key found for this signature in database
GPG Key ID: 7CBEFA144857DC97

View File

@ -82,7 +82,7 @@ void PluginManager::loadPluginsPart(const QString& pluginsSubDir)
foreach (QString dir, PluginsPath)
{
QDir d(dir);
if (d.isEmpty()) {
if (d.entryList(QDir::Files).count() == 0) {
qDebug("PluginManager::loadPluginsPart folder %s is empty", qPrintable(dir));
continue;
}