Allow compilation without QSystemTrayIcon
[quassel.git] / src / qtui / systraynotificationbackend.h
index 2134617..7fdf4e8 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef SYSTRAYNOTIFICATIONBACKEND_H_
 #define SYSTRAYNOTIFICATIONBACKEND_H_
 
+#ifndef QT_NO_SYSTEMTRAYICON
+
 #include <QSystemTrayIcon>
 
 #include "abstractnotificationbackend.h"
@@ -74,4 +76,6 @@ private:
   bool _showBubble, _animate;
 };
 
+#endif /* QT_NO_SYSTEMTRAYICON */
+
 #endif