diff options
author | ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com> | 2022-10-25 21:18:53 +0300 |
---|---|---|
committer | ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com> | 2022-11-12 20:19:27 +0200 |
commit | 6ae3b183fdb1f6e4887617fc7230d52c803e63fd (patch) | |
tree | 8bbbc8ee7c0121cd8268880557e6cdeba8bbaf3e /launcher | |
parent | f12117c532de4bdbf74968cf173d1c288a7e426a (diff) | |
download | PrismLauncher-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.cpp | 2 |
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()), |