aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authortxtsd <thexerothermicsclerodermoid@gmail.com>2022-02-27 08:35:47 -0800
committerGitHub <noreply@github.com>2022-02-27 08:35:47 -0800
commit5d1ca33b84afee9f09093c27f2eff525325d08cb (patch)
treee19e1f8e6216ff3d0fc3b5c82266a49eb083c371 /launcher
parentca8b62291fe47554effaf625b5c52807802a58a9 (diff)
downloadPrismLauncher-5d1ca33b84afee9f09093c27f2eff525325d08cb.tar.gz
PrismLauncher-5d1ca33b84afee9f09093c27f2eff525325d08cb.tar.bz2
PrismLauncher-5d1ca33b84afee9f09093c27f2eff525325d08cb.zip
Apply suggestions from code review
Co-authored-by: LennyMcLennington <lenny@sneed.church>
Diffstat (limited to 'launcher')
-rw-r--r--launcher/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index bf644ea6..0ce80d4b 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -294,7 +294,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
}
else
{
-#if !Launcher_PORTABLE || defined(Q_OS_MAC)
+#if !defined(LAUNCHER_PORTABLE) || defined(Q_OS_MAC)
QDir foo(FS::PathCombine(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation), ".."));
dataPath = foo.absolutePath();
adjustedBy += dataPath;