X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtui.cpp;h=9bd81577c45ccb6bb9bc21a3f21b286108279858;hb=46bba99808aad823adc53744e6d93f5af9bf729d;hp=a6c48c35cafc28b62243822f9bf451318fc97b17;hpb=72473527f99cbe68dcfcb4ca17f828bd3775bba7;p=quassel.git diff --git a/src/qtui/qtui.cpp b/src/qtui/qtui.cpp index a6c48c35..9bd81577 100644 --- a/src/qtui/qtui.cpp +++ b/src/qtui/qtui.cpp @@ -347,7 +347,6 @@ void QtUi::refreshIconTheme() return; } -#if QT_VERSION >= 0x050000 // At this point, we have a system theme that we don't want to override, but that may not contain all // required icons. // We create a dummy theme that inherits first from the system theme, then from the supported fallback. @@ -397,10 +396,4 @@ void QtUi::refreshIconTheme() } indexFile.close(); QIcon::setThemeName("quassel-icon-proxy"); -#else - // Qt4 doesn't support QTemporaryDir. Since it's deprecated and slated to be removed soon anyway, we don't bother - // writing a replacement and simply don't support not overriding the system theme. - QIcon::setThemeName(fallbackTheme); - emit iconThemeRefreshed(); -#endif }