diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-08 14:24:10 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-08 14:24:49 +0100 |
commit | 70370ae502df8756f3a067a00ccd61b9fc819581 (patch) | |
tree | 1f3beb9dcdaa036ea822573cf461e6566287bef8 /src/qt/notificator.cpp | |
parent | 6893d74e1511ee68a8f6ab25f232a66dd3cbe2b6 (diff) | |
parent | ccd1372dd063e4098a245da91c9e73743484f68a (diff) |
Merge pull request #3348
ccd1372 [Qt] small notificator and style changes (Philip Kaufmann)
Diffstat (limited to 'src/qt/notificator.cpp')
-rw-r--r-- | src/qt/notificator.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qt/notificator.cpp b/src/qt/notificator.cpp index c9f6834ec2..1cef397d12 100644 --- a/src/qt/notificator.cpp +++ b/src/qt/notificator.cpp @@ -4,7 +4,6 @@ #include "notificator.h" - #include <QApplication> #include <QByteArray> #include <QIcon> @@ -32,7 +31,7 @@ // https://wiki.ubuntu.com/NotificationDevelopmentGuidelines recommends at least 128 const int FREEDESKTOP_NOTIFICATION_ICON_SIZE = 128; -Notificator::Notificator(const QString &programName, QSystemTrayIcon *trayicon, QWidget *parent): +Notificator::Notificator(const QString &programName, QSystemTrayIcon *trayicon, QWidget *parent) : QObject(parent), parent(parent), programName(programName), @@ -48,7 +47,7 @@ Notificator::Notificator(const QString &programName, QSystemTrayIcon *trayicon, } #ifdef USE_DBUS interface = new QDBusInterface("org.freedesktop.Notifications", - "/org/freedesktop/Notifications", "org.freedesktop.Notifications"); + "/org/freedesktop/Notifications", "org.freedesktop.Notifications"); if(interface->isValid()) { mode = Freedesktop; |