aboutsummaryrefslogtreecommitdiff
path: root/src/qt/notificator.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-24 11:21:56 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-24 11:22:00 +0200
commit7a419a61b6e357229620ade1e459b8e437fa86c8 (patch)
tree2f86d84c57ee21982281d533b1a6fbeef6c97348 /src/qt/notificator.cpp
parente832f5e39b3237368b8774cea2c21ac8529c5cbf (diff)
parentcdb36eff9f060330a1727dec82299f255459aa2d (diff)
Merge pull request #4222
cdb36ef Fix warning when compiling in OS X (Federico Bond)
Diffstat (limited to 'src/qt/notificator.cpp')
-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),