From f229dab22e4a1f9324d9127ea0548d1ead148880 Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Sun, 20 Dec 2020 07:06:01 +0100 Subject: Force setThemeName there are no icons shown in speedfire with old qt4 libs this seems to work if theme is present. --- lxdesupport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- cgit v1.0