summaryrefslogtreecommitdiffhomepage
path: root/options/globals.cpp
diff options
context:
space:
mode:
authorR. van twisk <ries.van.twisk@ing.com>2019-11-30 12:22:16 +0100
committerR. van twisk <ries.van.twisk@ing.com>2019-11-30 12:22:16 +0100
commit377dc1af24d5803aac11fa70e369eae9c40e8b7f (patch)
treeca75309db4639974d2b8f1b8ac51847fe53179e2 /options/globals.cpp
parentebf9de109b86336b8844fc6fd15a34760481de5e (diff)
OSX Build fixes
Diffstat (limited to 'options/globals.cpp')
-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());