aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaThemes.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-04-13 08:13:41 -0400
committerKen Moore <ken@ixsystems.com>2017-04-13 08:13:41 -0400
commit08418849bf30416d5d7083d2c69a36ab261d8cbb (patch)
tree85f27cbf5c3bf5080d3e685b30e45957e0dbb0bf /src-qt5/core/libLumina/LuminaThemes.cpp
parentAdd in all the required mimetypes (diff)
downloadlumina-08418849bf30416d5d7083d2c69a36ab261d8cbb.tar.gz
lumina-08418849bf30416d5d7083d2c69a36ab261d8cbb.tar.bz2
lumina-08418849bf30416d5d7083d2c69a36ab261d8cbb.zip
Commit some small changes I still had on my main workstation:
1) Better support for the "inherited" property in icon themes 2) Some other random WM stuff
Diffstat (limited to 'src-qt5/core/libLumina/LuminaThemes.cpp')
-rw-r--r--src-qt5/core/libLumina/LuminaThemes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaThemes.cpp b/src-qt5/core/libLumina/LuminaThemes.cpp
index 70cd221d..85d43925 100644
--- a/src-qt5/core/libLumina/LuminaThemes.cpp
+++ b/src-qt5/core/libLumina/LuminaThemes.cpp
@@ -83,7 +83,8 @@ QStringList LTHEME::availableSystemIcons(){ //returns: [name] for each item
tmpthemes = dir.entryList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name);
for(int j=0; j<tmpthemes.length(); j++){
if(tmpthemes[j].startsWith("default")){ continue; }
- if(QFile::exists(dir.absoluteFilePath(tmpthemes[j]+"/index.theme")) ){ themes << tmpthemes[j]; }
+ if(QFile::exists(dir.absoluteFilePath(tmpthemes[j]+"/index.theme")) ||
+ QFile::exists(dir.absoluteFilePath(tmpthemes[j]+"/index.desktop")) ){ themes << tmpthemes[j]; }
}
}
}
bgstack15