diff options
author | R. van twisk <ries.van.twisk@ing.com> | 2019-11-30 12:22:16 +0100 |
---|---|---|
committer | R. van twisk <ries.van.twisk@ing.com> | 2019-11-30 12:22:16 +0100 |
commit | 377dc1af24d5803aac11fa70e369eae9c40e8b7f (patch) | |
tree | ca75309db4639974d2b8f1b8ac51847fe53179e2 /options/globals.cpp | |
parent | ebf9de109b86336b8844fc6fd15a34760481de5e (diff) |
OSX Build fixes
Diffstat (limited to 'options/globals.cpp')
-rw-r--r-- | options/globals.cpp | 2 |
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()); |