summaryrefslogtreecommitdiff
path: root/src/gui/statemachine
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-06 12:43:29 +0100
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 13:17:03 +0100
commit55b27267a6a21d15c3a505668aefed824d5cdf4e (patch)
treecf30864e0ca019a7245dbd7d0d3faad6b83799f4 /src/gui/statemachine
parent3cbf477c7b71771a71fed920800a9938abc3c001 (diff)
downloadqt4-tools-55b27267a6a21d15c3a505668aefed824d5cdf4e.tar.gz
Fix QT_NO_WHEELEVENT
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/statemachine')
-rw-r--r--src/gui/statemachine/qguistatemachine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/statemachine/qguistatemachine.cpp b/src/gui/statemachine/qguistatemachine.cpp
index 2ae13f3bcc..4f7806fe7e 100644
--- a/src/gui/statemachine/qguistatemachine.cpp
+++ b/src/gui/statemachine/qguistatemachine.cpp
@@ -106,8 +106,10 @@ static QEvent *cloneEvent(QEvent *e)
return new QEvent(*e);
case QEvent::HideToParent:
return new QEvent(*e);
+#ifndef QT_NO_WHEELEVENT
case QEvent::Wheel:
return new QWheelEvent(*static_cast<QWheelEvent*>(e));
+#endif //QT_NO_WHEELEVENT
case QEvent::WindowTitleChange:
return new QEvent(*e);
case QEvent::WindowIconChange: