diff options
author | Holger Paradies <retabell@gmx.de> | 2020-12-20 07:06:01 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2020-12-30 13:19:59 +0100 |
commit | f229dab22e4a1f9324d9127ea0548d1ead148880 (patch) | |
tree | 81e31387d58b5ff04321edfe10f03b588454ff3a | |
parent | 1f7dad1bb902126eeb1b7552c1b21b7507da2280 (diff) | |
download | acritoxinstaller-f229dab22e4a1f9324d9127ea0548d1ead148880.zip acritoxinstaller-f229dab22e4a1f9324d9127ea0548d1ead148880.tar.gz |
Force setThemeName
there are no icons shown in speedfire with old qt4 libs
this seems to work if theme is present.
-rw-r--r-- | lxdesupport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lxdesupport.cpp b/lxdesupport.cpp index 4a1c825..4ac4576 100644 --- a/lxdesupport.cpp +++ b/lxdesupport.cpp @@ -25,12 +25,13 @@ void LXDESupport::load() { + QIcon::setThemeName("acritoxinstaller"); // use kanotix theme if(qgetenv("XDG_CURRENT_DESKTOP") != "LXDE") return; QSettings lxde_settings("lxsession/LXDE", "desktop"); QString themeName = lxde_settings.value("GTK/sNet/IconThemeName").toString(); if(!themeName.isEmpty()) - QIcon::setThemeName(themeName); + QIcon::setThemeName("acritoxinstaller"); // also use kanotix theme for LXDE } |