mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 02:49:59 +02:00
Load plugins in alphabetical order.
This commit is contained in:
parent
a49669a975
commit
09511111cf
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ const LoaderList& getLoadedPlugins() {
|
||||||
QString pluginPath = QCoreApplication::applicationDirPath() + "/plugins/";
|
QString pluginPath = QCoreApplication::applicationDirPath() + "/plugins/";
|
||||||
#endif
|
#endif
|
||||||
QDir pluginDir(pluginPath);
|
QDir pluginDir(pluginPath);
|
||||||
|
pluginDir.setSorting(QDir::Name);
|
||||||
pluginDir.setFilter(QDir::Files);
|
pluginDir.setFilter(QDir::Files);
|
||||||
if (pluginDir.exists()) {
|
if (pluginDir.exists()) {
|
||||||
qInfo() << "Loading runtime plugins from " << pluginPath;
|
qInfo() << "Loading runtime plugins from " << pluginPath;
|
||||||
|
|
Loading…
Reference in a new issue