summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-compat/options.cpp')
-rw-r--r--opentrack-compat/options.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/opentrack-compat/options.cpp b/opentrack-compat/options.cpp
index 7b2eaa2f..bfc95410 100644
--- a/opentrack-compat/options.cpp
+++ b/opentrack-compat/options.cpp
@@ -58,8 +58,7 @@ QString group::ini_pathname()
const auto dir = ini_directory();
if (dir == "")
return "";
- QSettings settings(OPENTRACK_ORG);
- return dir + "/" + settings.value(OPENTRACK_CONFIG_FILENAME_KEY, OPENTRACK_DEFAULT_CONFIG).toString();
+ return dir + "/" + ini_filename();
}
const QStringList group::ini_list()