Apply suggestions from code review

Co-authored-by: LennyMcLennington <lenny@sneed.church>
This commit is contained in:
txtsd
2022-02-27 08:35:47 -08:00
committed by GitHub
parent ca8b62291f
commit 5d1ca33b84
2 changed files with 3 additions and 3 deletions

View File

@ -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;