X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtui.cpp;h=d899ba8e5858e1422843d1320ea72e896eb6db51;hb=03f61d2ab68356bd74f6f014651c823e79678cbd;hp=3ef32014b82aab375c82e29796dd23f02ee6fc25;hpb=b7447afe8e836376776dac26704e227a678d2913;p=quassel.git diff --git a/src/qtui/qtui.cpp b/src/qtui/qtui.cpp index 3ef32014..d899ba8e 100644 --- a/src/qtui/qtui.cpp +++ b/src/qtui/qtui.cpp @@ -274,7 +274,9 @@ std::vector> QtUi::availableIconThemes() const static const std::vector> supported { { "breeze", tr("Breeze") }, { "breeze-dark", tr("Breeze Dark") }, +#ifdef WITH_OXYGEN_ICONS { "oxygen", tr("Oxygen") } +#endif }; std::vector> result; @@ -343,7 +345,7 @@ void QtUi::refreshIconTheme() } } - if (_systemIconTheme.isEmpty() || _systemIconTheme == fallbackTheme || s.value("Icons/OverrideSystemTheme", false).toBool()) { + if (_systemIconTheme.isEmpty() || _systemIconTheme == fallbackTheme || s.value("Icons/OverrideSystemTheme", true).toBool()) { // We have a valid fallback theme and want to override the system theme (if it's even defined), so we're basically done QIcon::setThemeName(fallbackTheme); emit iconThemeRefreshed();