summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qsystemtrayicon_x11.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-09 11:33:52 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-10 14:41:58 (GMT)
commit5ab191af20bf2b1fed2b8886ac247c2953087c14 (patch)
treeb6ef3fa71ef65d7016ebd2cc2a11659f39f57c9d /src/gui/util/qsystemtrayicon_x11.cpp
parente950fad2ab8b0c93da176ce2f07a4d45a3185cb4 (diff)
downloadQt-5ab191af20bf2b1fed2b8886ac247c2953087c14.zip
Qt-5ab191af20bf2b1fed2b8886ac247c2953087c14.tar.gz
Qt-5ab191af20bf2b1fed2b8886ac247c2953087c14.tar.bz2
Fixed compilation with QT_NO_WHEELEVENT
Reviewed-by: Prasanth
Diffstat (limited to 'src/gui/util/qsystemtrayicon_x11.cpp')
-rw-r--r--src/gui/util/qsystemtrayicon_x11.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/util/qsystemtrayicon_x11.cpp b/src/gui/util/qsystemtrayicon_x11.cpp
index a645050..82b4325 100644
--- a/src/gui/util/qsystemtrayicon_x11.cpp
+++ b/src/gui/util/qsystemtrayicon_x11.cpp
@@ -308,10 +308,12 @@ void QSystemTrayIconSys::mouseDoubleClickEvent(QMouseEvent *ev)
emit q->activated(QSystemTrayIcon::DoubleClick);
}
+#ifndef QT_NO_WHEELEVENT
void QSystemTrayIconSys::wheelEvent(QWheelEvent *e)
{
QApplication::sendEvent(q, e);
}
+#endif
bool QSystemTrayIconSys::event(QEvent *e)
{