aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
diff options
context:
space:
mode:
authorADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>2022-11-12 20:41:52 +0200
committerADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>2022-11-12 20:41:52 +0200
commitb813c867b505f0c1ec8125fde9916d6252cd4485 (patch)
treeee123af14b0701458f7899b4e802d25b359e34fe /launcher/FileSystem.cpp
parentf7d7d76ee879c3bdd539e5c8c956cbd2c7328bf0 (diff)
downloadPrismLauncher-b813c867b505f0c1ec8125fde9916d6252cd4485.tar.gz
PrismLauncher-b813c867b505f0c1ec8125fde9916d6252cd4485.tar.bz2
PrismLauncher-b813c867b505f0c1ec8125fde9916d6252cd4485.zip
refactor #if checks
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
Diffstat (limited to 'launcher/FileSystem.cpp')
-rw-r--r--launcher/FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp
index 221395be..7a1861e7 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -395,7 +395,7 @@ bool createShortcut(QString destination, QString target, QStringList args, QStri
f.setPermissions(f.permissions() | QFileDevice::ExeOwner | QFileDevice::ExeGroup | QFileDevice::ExeOther);
return true;
-#elif defined Q_OS_WIN
+#elif defined(Q_OS_WIN)
QFileInfo targetInfo(target);
if (!targetInfo.exists())