projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow compilation without QSystemTrayIcon
[quassel.git]
/
src
/
qtui
/
systemtray.h
diff --git
a/src/qtui/systemtray.h
b/src/qtui/systemtray.h
index
d98bf46
..
cdb66d7
100644
(file)
--- a/
src/qtui/systemtray.h
+++ b/
src/qtui/systemtray.h
@@
-21,6
+21,8
@@
#ifndef SYSTEMTRAY_H_
#define SYSTEMTRAY_H_
#ifndef SYSTEMTRAY_H_
#define SYSTEMTRAY_H_
+#ifndef QT_NO_SYSTEMTRAYICON
+
#ifdef HAVE_KDE
# include <KSystemTrayIcon>
#else
#ifdef HAVE_KDE
# include <KSystemTrayIcon>
#else
@@
-95,4
+97,6
@@
bool SystemTray::isSystemTrayAvailable() const { return QSystemTrayIcon::isSyste
bool SystemTray::isAlerted() const { return _alert; }
void SystemTray::setInhibitActivation() { _inhibitActivation = true; }
bool SystemTray::isAlerted() const { return _alert; }
void SystemTray::setInhibitActivation() { _inhibitActivation = true; }
+#endif /* QT_NO_SYSTEMTRAYICON */
+
#endif
#endif