aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
diff options
context:
space:
mode:
authorADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>2022-11-09 21:02:40 +0200
committerADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>2022-11-12 20:19:30 +0200
commit6043444e4e11801e45ad888182c99d6f4e4e5ddc (patch)
treec21a80ca9f46ce08e5396b1ec4404cdd319429ea /launcher/FileSystem.cpp
parent487e352642c4430f57643b53a8e9cd3d04edfeb8 (diff)
downloadPrismLauncher-6043444e4e11801e45ad888182c99d6f4e4e5ddc.tar.gz
PrismLauncher-6043444e4e11801e45ad888182c99d6f4e4e5ddc.tar.bz2
PrismLauncher-6043444e4e11801e45ad888182c99d6f4e4e5ddc.zip
Apply suggestions from code review
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> 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 587753a0..5a539093 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -342,7 +342,7 @@ QString getDesktopDir()
// Cross-platform Shortcut creation
bool createShortcut(QString destination, QString target, QStringList args, QString name, QString icon)
{
-#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
destination = PathCombine(destination, name + ".desktop");
QFile f(destination);