aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>2022-10-25 21:18:53 +0300
committerADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>2022-11-12 20:19:27 +0200
commit6ae3b183fdb1f6e4887617fc7230d52c803e63fd (patch)
tree8bbbc8ee7c0121cd8268880557e6cdeba8bbaf3e /launcher
parentf12117c532de4bdbf74968cf173d1c288a7e426a (diff)
downloadPrismLauncher-6ae3b183fdb1f6e4887617fc7230d52c803e63fd.tar.gz
PrismLauncher-6ae3b183fdb1f6e4887617fc7230d52c803e63fd.tar.bz2
PrismLauncher-6ae3b183fdb1f6e4887617fc7230d52c803e63fd.zip
Remove unnessecary "is defined" check
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ui/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp
index 8f2196f2..34c51ec6 100644
--- a/launcher/ui/MainWindow.cpp
+++ b/launcher/ui/MainWindow.cpp
@@ -2112,7 +2112,7 @@ void MainWindow::on_actionCreateInstanceShortcut_triggered()
// TODO
// need to convert icon to ICO format and save it somewhere...
iconPath = "";
-#elif defined(Q_OS_UNIX)
+#else
iconPath = icon->getFilePath();
#endif
if (FS::createShortcut(FS::PathCombine(desktopPath, m_selectedInstance->name()),