From d363f2d35b963f4ae92840a90194cb44b4ff735d Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 2 May 2018 14:27:56 -0400 Subject: Fix up the icons for lumina-fm --- src-qt5/core/libLumina/LuminaXDG.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src-qt5/core/libLumina/LuminaXDG.cpp') diff --git a/src-qt5/core/libLumina/LuminaXDG.cpp b/src-qt5/core/libLumina/LuminaXDG.cpp index a17f1e7c..7b87cf37 100644 --- a/src-qt5/core/libLumina/LuminaXDG.cpp +++ b/src-qt5/core/libLumina/LuminaXDG.cpp @@ -859,6 +859,7 @@ QIcon LXDG::findIcon(QString iconName, QString fallback){ //if(tmp.isNull()){ tmp = QIcon::fromTheme(fallback); } } if(!tmp.isNull() && tmp.name()==iconName){ return tmp; } //found this in the theme + if(!fallback.isEmpty() && QIcon::hasThemeIcon(fallback)){ tmp = QIcon::fromTheme(fallback); return tmp; } //found this in the theme //NOTE: This was re-written on 11/10/15 to avoid using the QIcon::fromTheme() framework -- cgit