X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=b75af1bedd79fdaf9a70e12f49ad2e8a34cf81e7;hp=7efe5f2221af2b9bedb349126bccbf059e8eb0ed;hb=d1264c1bda04d49693975e0c21acf82b0fb5f007;hpb=9d32e4eb35cecd82d936d2de7da7e7e7dc606667 diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 7efe5f22..b75af1be 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -45,8 +45,6 @@ #include "qtuisettings.h" #include "jumpkeyhandler.h" -#include "uisettings.h" - #include "selectionmodelsynchronizer.h" #include "mappedselectionmodel.h" @@ -100,12 +98,6 @@ MainWin::MainWin(QtUi *_gui, QWidget *parent) installEventFilter(new JumpKeyHandler(this)); - UiSettings uiSettings; - QString style = uiSettings.value("Style", QString("")).toString(); - if(style != "") { - QApplication::setStyle(style); - } - #ifdef HAVE_DBUS desktopNotifications = new org::freedesktop::Notifications( "org.freedesktop.Notifications", @@ -662,24 +654,25 @@ void MainWin::sendDesktopNotification(const QString &title, const QString &messa if(!reply.isValid()) { /* ERROR */ - qDebug() << "Error on sending notification..." << reply; + // could also happen if no notification service runs, so... whatever :) + //qDebug() << "Error on sending notification..." << reply.error(); return; } notificationId = reply.value(); - qDebug() << "ID: " << notificationId << " Time: " << QTime::currentTime().toString(); + // qDebug() << "ID: " << notificationId << " Time: " << QTime::currentTime().toString(); } void MainWin::desktopNotificationClosed(uint id, uint reason) { - qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString(); + // qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString(); notificationId = 0; } void MainWin::desktopNotificationInvoked(uint id, const QString & action) { - qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString(); + // qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString(); } #else /* HAVE_DBUS */