summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/globals.cpp b/options/globals.cpp
index 099a7208..386ef56d 100644
--- a/options/globals.cpp
+++ b/options/globals.cpp
@@ -154,8 +154,8 @@ fail: constexpr const char* subdir = "ini";
QString dir = QStandardPaths::standardLocations(QStandardPaths::DocumentsLocation).value(0, QString());
if (dir.isEmpty())
goto fail;
-#if !defined _WIN32 && !defined __APPLE__
const QString fmt = QStringLiteral("%1/%2");
+#if !defined _WIN32 && !defined __APPLE__
if (!QFile::exists(fmt.arg(dir, OPENTRACK_ORG)))
{
dir = QStandardPaths::standardLocations(QStandardPaths::ConfigLocation).value(0, QString());