summaryrefslogtreecommitdiffhomepage
path: root/options/globals.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-03 12:53:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-09 12:13:27 +0100
commit6325d311627a8288693331d16069fd16c5fac6c6 (patch)
tree8a8c31687035aa4895c9a3e85877544f3e8d71d7 /options/globals.cpp
parentf5662b59896917512f0d4e5f1e853ba6c6b20d38 (diff)
use consistent naming for `profile'
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;
});
}