Skip to content

Commit f1149d5

Browse files
committed
findIconThemes(): add empty entry
...so that user can choose to not set a theme.
1 parent 3662e0c commit f1149d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/maindialog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ QStringList MainDialog::findIconThemes(enum lab_icon_theme_type type)
310310
// Iterate over paths and use any icon-theme which has more than just a
311311
// "cursors" subdirectory (because that means it's for cursors only)
312312
QStringList themes;
313+
themes.push_front("");
313314
themes.push_front("Adwaita");
314315
for (const QString &path : std::as_const(paths)) {
315316
QDir dir(path);

0 commit comments

Comments
 (0)