diff options
author | Ken Moore <ken@ixsystems.com> | 2018-04-27 12:46:53 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-04-27 12:46:53 -0400 |
commit | a7ac76c0645dda9f4a8c661cc1c956971e2e68b4 (patch) | |
tree | f91d44cacc733bfcf038dd01601afd25c8df080c /src-qt5 | |
parent | Cleanup the icon loading routines for battery status. (diff) | |
download | lumina-a7ac76c0645dda9f4a8c661cc1c956971e2e68b4.tar.gz lumina-a7ac76c0645dda9f4a8c661cc1c956971e2e68b4.tar.bz2 lumina-a7ac76c0645dda9f4a8c661cc1c956971e2e68b4.zip |
Turn off the libreoffice icon fix for non-material-design icon themes.
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/core/libLumina/LuminaXDG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaXDG.cpp b/src-qt5/core/libLumina/LuminaXDG.cpp index 95585f1e..a17f1e7c 100644 --- a/src-qt5/core/libLumina/LuminaXDG.cpp +++ b/src-qt5/core/libLumina/LuminaXDG.cpp @@ -851,7 +851,7 @@ void LXDG::setEnvironmentVars(){ QIcon LXDG::findIcon(QString iconName, QString fallback){ //With the addition of the Lumina theme engine (8/3/17), switch back to using the Qt icon from theme method for apps QIcon tmp; - if(!iconName.contains("libreoffice")){ //libreoffice is stupid - their svg icons are un-renderable with Qt + if(!iconName.contains("libreoffice") || !QIcon::themeName().startsWith("material-design") ){ //libreoffice is stupid - their svg icons are un-renderable with Qt tmp = QIcon::fromTheme(iconName); /*if(iconName.contains("start-here")){ qDebug() << "[ICON]" << iconName << "found:" << !tmp.isNull() << tmp.name(); |