From ccd1372dd063e4098a245da91c9e73743484f68a Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Tue, 3 Dec 2013 09:25:24 +0100 Subject: [Qt] small notificator and style changes - remove default arguments for notificator - re-order some calls to use same ordering in Qt files - style police changes (spaces, comments and such) --- src/qt/notificator.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/qt/notificator.cpp') diff --git a/src/qt/notificator.cpp b/src/qt/notificator.cpp index c9f6834ec..1cef397d1 100644 --- a/src/qt/notificator.cpp +++ b/src/qt/notificator.cpp @@ -4,7 +4,6 @@ #include "notificator.h" - #include #include #include @@ -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; -- cgit v1.2.3