summaryrefslogtreecommitdiffhomepage
path: root/compat/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/options.cpp')
-rw-r--r--compat/options.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/compat/options.cpp b/compat/options.cpp
index 9ff696ac..db2e5ce5 100644
--- a/compat/options.cpp
+++ b/compat/options.cpp
@@ -65,7 +65,9 @@ const QStringList group::ini_list()
if (dirname == "")
return QStringList();
QDir settings_dir(dirname);
- return settings_dir.entryList( QStringList { "*.ini" } , QDir::Files, QDir::Name );
+ QStringList list = settings_dir.entryList( QStringList { "*.ini" } , QDir::Files, QDir::Name );
+ std::sort(list.begin(), list.end());
+ return list;
}
const mem<QSettings> group::ini_file()