_force_icon_theme
authorDebian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
Sun, 7 Oct 2018 14:43:33 +0000 (15:43 +0100)
committerFelix Geyer <fgeyer@debian.org>
Sun, 7 Oct 2018 14:43:33 +0000 (15:43 +0100)
Gbp-Pq: Name 03_force_icon_theme.patch

src/qtui/qtuiapplication.cpp

index de32aa86542624462c653fde777353013c348918..701806fded13071337287e647cb973d5aa85def7 100644 (file)
@@ -150,7 +150,7 @@ bool QtUiApplication::init()
         // Set the icon theme
         if (Quassel::isOptionSet("icontheme"))
             QIcon::setThemeName(Quassel::optionValue("icontheme"));
-        else if (QIcon::themeName().isEmpty())
+        else if (QIcon::themeName() != "oxygen" && QIcon::themeName() != "breeze")
             // Some platforms don't set a default icon theme; chances are we can find our bundled Oxygen theme though
             QIcon::setThemeName("oxygen");