diff options
| author | ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com> | 2022-11-12 20:13:59 +0200 |
|---|---|---|
| committer | ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com> | 2022-11-12 20:19:32 +0200 |
| commit | 7e5076b06891f28c1b2e27befd33005d400c49c9 (patch) | |
| tree | 42cb5c601c7b4a389de7492b4de7b5478af7165d | |
| parent | dbe0553b4a6100d8269f749cc4eb372e5a30cb3b (diff) | |
| download | PrismLauncher-7e5076b06891f28c1b2e27befd33005d400c49c9.tar.gz PrismLauncher-7e5076b06891f28c1b2e27befd33005d400c49c9.tar.bz2 PrismLauncher-7e5076b06891f28c1b2e27befd33005d400c49c9.zip | |
Linux: fix path shortcut is written to
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
| -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 5a539093..ddd1a6e5 100644 --- a/launcher/FileSystem.cpp +++ b/launcher/FileSystem.cpp @@ -343,7 +343,7 @@ QString getDesktopDir() bool createShortcut(QString destination, QString target, QStringList args, QString name, QString icon) { #if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD) - destination = PathCombine(destination, name + ".desktop"); + destination += ".desktop"; QFile f(destination); f.open(QIODevice::WriteOnly | QIODevice::Text); |
