X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuiapplication.cpp;h=5bf11bbee9e6a21f430204e1eedaa0f1cb6efa94;hp=cd95678c8e6ad06bb80ad804ca39d04058cdaae8;hb=7de4debb5a6744d9f67cb09c5fc0aa136f05be96;hpb=6310438a4efce3d2ecbd5faf1d3ceebe0c6524c2 diff --git a/src/qtui/qtuiapplication.cpp b/src/qtui/qtuiapplication.cpp index cd95678c..5bf11bbe 100644 --- a/src/qtui/qtuiapplication.cpp +++ b/src/qtui/qtuiapplication.cpp @@ -20,6 +20,7 @@ #include "qtuiapplication.h" +#include #include #ifdef HAVE_KDE @@ -67,6 +68,10 @@ QtUiApplication::QtUiApplication(int &argc, char **argv) #else qInstallMessageHandler(Client::logMessage); #endif + + // Some platforms don't set a default icon theme; chances are we can find our bundled Oxygen theme though + if (QIcon::themeName().isEmpty()) + QIcon::setThemeName("oxygen"); }