diff options
author | Ken Moore <ken@ixsystems.com> | 2018-05-02 14:27:56 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-05-02 14:27:56 -0400 |
commit | d363f2d35b963f4ae92840a90194cb44b4ff735d (patch) | |
tree | c259e97fbf14c24b592d0e6130cde646ad112b35 /src-qt5/core/libLumina/LuminaXDG.cpp | |
parent | Fix the icons for lumina-mediaplayer (diff) | |
download | lumina-d363f2d35b963f4ae92840a90194cb44b4ff735d.tar.gz lumina-d363f2d35b963f4ae92840a90194cb44b4ff735d.tar.bz2 lumina-d363f2d35b963f4ae92840a90194cb44b4ff735d.zip |
Fix up the icons for lumina-fm
Diffstat (limited to 'src-qt5/core/libLumina/LuminaXDG.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaXDG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 |