aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorLennyMcLennington <lenny@sneed.church>2022-02-11 12:05:01 +0000
committerGitHub <noreply@github.com>2022-02-11 12:05:01 +0000
commit234121233780d475c650635ff686d74d27c0d7fa (patch)
tree453ef5364293e8cd015ef741e836c266f0e0766e /launcher
parent53ea2613507b1b44d631ea61ab554895c0d02836 (diff)
parent22ca572ae0d292299a68030c671d919d52267d39 (diff)
downloadPrismLauncher-234121233780d475c650635ff686d74d27c0d7fa.tar.gz
PrismLauncher-234121233780d475c650635ff686d74d27c0d7fa.tar.bz2
PrismLauncher-234121233780d475c650635ff686d74d27c0d7fa.zip
Merge pull request #150 from dada513/fix_kwin_icon
Fix freedesktop icons. Again
Diffstat (limited to 'launcher')
-rw-r--r--launcher/Application.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 7050e5dc..3a888739 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -187,7 +187,9 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
setApplicationName(BuildConfig.LAUNCHER_NAME);
setApplicationDisplayName(BuildConfig.LAUNCHER_DISPLAYNAME);
setApplicationVersion(BuildConfig.printableVersionString());
-
+ #if (QT_VERSION >= QT_VERSION_CHECK(5,7,0))
+ setDesktopFileName(BuildConfig.LAUNCHER_DESKTOPFILENAME);
+ #endif
startTime = QDateTime::currentDateTime();
#ifdef Q_OS_LINUX