summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-04-29 09:47:01 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-29 09:47:01 (GMT)
commit93cd0b4fcee84080d1530de9a26652509c1a117d (patch)
tree393670195cb707d490080b5ddbb62fae405f3ea5 /Swift
parentf5ddc6b637ac69470d39b68ecc2a7c7312a95da7 (diff)
downloadswift-contrib-93cd0b4fcee84080d1530de9a26652509c1a117d.zip
swift-contrib-93cd0b4fcee84080d1530de9a26652509c1a117d.tar.bz2
Conditionally include DBUS on Linux.
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtSystemTray.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSystemTray.cpp b/Swift/QtUI/QtSystemTray.cpp
index bc8e40a..2f45709 100644
--- a/Swift/QtUI/QtSystemTray.cpp
+++ b/Swift/QtUI/QtSystemTray.cpp
@@ -9,7 +9,9 @@
#include "Swift/QtUI/QtSystemTray.h"
#include <QtDebug>
+#ifdef Q_WS_X11
#include <QDBusInterface>
+#endif
#include <QIcon>
#include <QPixmap>
#include <QResource>