diff options
author | ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com> | 2022-11-09 21:02:40 +0200 |
---|---|---|
committer | ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com> | 2022-11-12 20:19:30 +0200 |
commit | 6043444e4e11801e45ad888182c99d6f4e4e5ddc (patch) | |
tree | c21a80ca9f46ce08e5396b1ec4404cdd319429ea /launcher/FileSystem.cpp | |
parent | 487e352642c4430f57643b53a8e9cd3d04edfeb8 (diff) | |
download | PrismLauncher-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.cpp | 2 |
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); |