mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +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/";
|
||||
#endif
|
||||
QDir pluginDir(pluginPath);
|
||||
pluginDir.setSorting(QDir::Name);
|
||||
pluginDir.setFilter(QDir::Files);
|
||||
if (pluginDir.exists()) {
|
||||
qInfo() << "Loading runtime plugins from " << pluginPath;
|
||||
|
|
Loading…
Reference in a new issue