mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-03 11:04:46 -04:00
Apply suggestions from code review
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
This commit is contained in:
1 parent
487e352642
commit
6043444e4e
2 files changed
+6
-8
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user