src/gui/util/qsystemtrayicon_x11.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
--- a/src/gui/util/qsystemtrayicon_x11.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/src/gui/util/qsystemtrayicon_x11.cpp	Thu Apr 08 14:19:33 2010 +0300
@@ -308,10 +308,12 @@
         emit q->activated(QSystemTrayIcon::DoubleClick);
 }
 
+#ifndef QT_NO_WHEELEVENT
 void QSystemTrayIconSys::wheelEvent(QWheelEvent *e)
 {
     QApplication::sendEvent(q, e);
 }
+#endif
 
 bool QSystemTrayIconSys::event(QEvent *e)
 {