@@ -109,10 +109,10 void PluginManager::loadPlugins(const QDir &pluginDir) | |||
|
109 | 109 | auto pluginInfoList |
|
110 | 110 | = pluginDir.entryInfoList(QDir::Files | QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name); |
|
111 | 111 | for (auto entryInfo : qAsConst(pluginInfoList)) { |
|
112 | if (entryInfo.isDir()) | |
|
112 | if (entryInfo.isDir()) { | |
|
113 | 113 | this->loadPlugins(QDir{entryInfo.absoluteFilePath()}); |
|
114 |
|
|
|
115 |
|
|
|
114 | } | |
|
115 | else if (QLibrary::isLibrary(entryInfo.absoluteFilePath())) { | |
|
116 | 116 |
|
|
117 | 117 | } |
|
118 | 118 | } |
General Comments 0
You need to be logged in to leave comments.
Login now