diff options
author | Weblate <noreply@weblate.org> | 2017-04-13 12:17:03 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2017-04-13 12:17:03 +0000 |
commit | 26551d4b023eca713cd3675b448bfb11b4b02380 (patch) | |
tree | 5f7b1a7d4d65253e99d456cbc7c41b0a5f5e15eb /src-qt5/core/libLumina/LuminaThemes.cpp | |
parent | Translated using Weblate (lumina_OPEN@sv (generated)) (diff) | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-26551d4b023eca713cd3675b448bfb11b4b02380.tar.gz lumina-26551d4b023eca713cd3675b448bfb11b4b02380.tar.bz2 lumina-26551d4b023eca713cd3675b448bfb11b4b02380.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/libLumina/LuminaThemes.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaThemes.cpp | 3 |
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]; } } } } |