aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
diff options
context:
space:
mode:
authordada513 <dada513@protonmail.com>2021-12-31 18:05:40 +0100
committerdada513 <dada513@protonmail.com>2021-12-31 18:05:40 +0100
commitfa98ed3ccd74cbf0228baf13851b6bb6d17d51a3 (patch)
tree5a300af57c0207d38980319d54dc04218828aa1e /launcher/FileSystem.cpp
parent0c177b1086d69993e012ba1fbed1adf6bfe04144 (diff)
parent9579231ccc36d9d32f4d5571ced91e8fe7851643 (diff)
downloadPrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.tar.gz
PrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.tar.bz2
PrismLauncher-fa98ed3ccd74cbf0228baf13851b6bb6d17d51a3.zip
Merge remote-tracking branch 'upstream/develop' into upstream_update
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 13f05b86..6de20de6 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -403,7 +403,7 @@ QString getDesktopDir()
bool createShortCut(QString location, QString dest, QStringList args, QString name,
QString icon)
{
-#if defined Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
location = PathCombine(location, name + ".desktop");
QFile f(location);