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:
parent
100b838fb6
commit
3edc7b18f4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user