aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFederico Bond <federicobond@gmail.com>2014-05-23 13:58:12 -0300
committerFederico Bond <federicobond@gmail.com>2014-05-23 14:00:14 -0300
commitcdb36eff9f060330a1727dec82299f255459aa2d (patch)
treec3fe0019d24dbf063c2f28db35607295a26d350f /src
parent206662003dc8eadf08bd809ab5e99aa340e93802 (diff)
Fix warning when compiling in OS X
Diffstat (limited to 'src')
-rw-r--r--src/qt/notificator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/notificator.cpp b/src/qt/notificator.cpp
index 38a029dbe5..3d588cd317 100644
--- a/src/qt/notificator.cpp
+++ b/src/qt/notificator.cpp
@@ -28,8 +28,10 @@
#endif
+#ifdef USE_DBUS
// https://wiki.ubuntu.com/NotificationDevelopmentGuidelines recommends at least 128
const int FREEDESKTOP_NOTIFICATION_ICON_SIZE = 128;
+#endif
Notificator::Notificator(const QString &programName, QSystemTrayIcon *trayicon, QWidget *parent) :
QObject(parent),