summaryrefslogtreecommitdiffhomepage
path: root/options/globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/globals.cpp')
-rw-r--r--options/globals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/globals.cpp b/options/globals.cpp
index dbc6df90..5f1bda67 100644
--- a/options/globals.cpp
+++ b/options/globals.cpp
@@ -105,9 +105,9 @@ bool is_ini_modified()
QString ini_filename()
{
return with_global_settings_object([&](QSettings& settings) {
- const QString ret = settings.value(OPENTRACK_CONFIG_FILENAME_KEY, OPENTRACK_DEFAULT_CONFIG).toString();
+ const QString ret = settings.value(OPENTRACK_PROFILE_FILENAME_KEY, OPENTRACK_DEFAULT_PROFILE).toString();
if (ret.size() == 0)
- return QStringLiteral(OPENTRACK_DEFAULT_CONFIG);
+ return QStringLiteral(OPENTRACK_DEFAULT_PROFILE);
return ret;
});
}