X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsystemtray.cpp;h=7e38a6a0fd7b1e04dd6dd13b38b1de3acd19407a;hb=6fd69e84e6c395a108e6b2620c6428907b7d7efd;hp=c84055084f54b83bcaf11e3a13573cec9b1925d3;hpb=adb89541c8583c2e0aca8893287b081c801ae7be;p=quassel.git diff --git a/src/qtui/systemtray.cpp b/src/qtui/systemtray.cpp index c8405508..7e38a6a0 100644 --- a/src/qtui/systemtray.cpp +++ b/src/qtui/systemtray.cpp @@ -18,15 +18,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include -#include - #include "systemtray.h" -#include "action.h" -#include "actioncollection.h" -#include "client.h" -#include "qtui.h" +#include +#include #ifdef HAVE_KDE4 # include @@ -34,6 +29,12 @@ # include #endif +#include "action.h" +#include "actioncollection.h" +#include "client.h" +#include "icon.h" +#include "qtui.h" + SystemTray::SystemTray(QWidget *parent) : QObject(parent), _associatedWidget(parent) @@ -50,7 +51,7 @@ SystemTray::SystemTray(QWidget *parent) #ifdef HAVE_KDE4 KMenu *kmenu; _trayMenu = kmenu = new KMenu(); - kmenu->addTitle(QIcon::fromTheme(iconName(State::Active)), "Quassel IRC"); + kmenu->addTitle(icon::get(iconName(State::Active)), "Quassel IRC"); #else _trayMenu = new QMenu(associatedWidget()); #endif