Skip to content

Commit 9e4721f

Browse files
authored
Fix KDE/GTK missing themes (#57)
* Fix KDE/GTK missing themes If the name of the themes precedes Breeze, it now doesen't cut out the first two entries. * Reverted one line for missing a theme
1 parent 3c5485e commit 9e4721f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/utils.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ QStringList Utils::getPlasmaStyles(void) // Get all available plasma styles
9393
plasmaStyles = plasmaStyles + stylesNixDir.entryList(QDir::Dirs | QDir::NoDotAndDotDot);;
9494
}
9595
plasmaStyles.removeDuplicates();
96-
plasmaStyles.removeFirst();
97-
plasmaStyles.removeFirst();
9896
plasmaStyles.append("breeze");
9997
plasmaStyles.sort();
10098
return plasmaStyles;
@@ -228,8 +226,6 @@ QStringList Utils::getGtkThemes(void) // Get all available gtk themes
228226
gtkThemes = gtkThemes + gtkNixDir.entryList(QDir::Dirs | QDir::NoDotAndDotDot);;
229227
}
230228
gtkThemes.removeDuplicates();
231-
gtkThemes.removeFirst();
232-
gtkThemes.removeFirst();
233229
gtkThemes.sort();
234230
return gtkThemes;
235231
}

0 commit comments

Comments
 (0)