X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=e134bc0bd1f2e85337acf9309a8d37566f344583;hp=66d4f6f1b575a6e5514f3688aba2e5981d7c35a2;hb=87fd2da996b379382b871eb2da0c40e5c46bbbef;hpb=caf97a87fb0a4d4d1bfa3f5bf855e5fc1f2a7f66 diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 66d4f6f1..e134bc0b 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", @@ -674,20 +666,17 @@ void MainWin::sendDesktopNotification(const QString &title, const QString &messa void MainWin::desktopNotificationClosed(uint id, uint reason) { + Q_UNUSED(id); Q_UNUSED(reason); // qDebug() << "OID: " << notificationId << " ID: " << id << " Reason: " << reason << " Time: " << QTime::currentTime().toString(); notificationId = 0; } void MainWin::desktopNotificationInvoked(uint id, const QString & action) { + Q_UNUSED(id); Q_UNUSED(action); // qDebug() << "OID: " << notificationId << " ID: " << id << " Action: " << action << " Time: " << QTime::currentTime().toString(); } -#else /* HAVE_DBUS */ - -void MainWin::desktopNotificationClosed(uint, uint) {} -void MainWin::desktopNotificationInvoked(uint, const QString &) {} - #endif /* HAVE_DBUS */ void MainWin::displayTrayIconMessage(const QString &title, const QString &message) {