summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-06 11:43:29 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 12:17:03 (GMT)
commit55b27267a6a21d15c3a505668aefed824d5cdf4e (patch)
treecf30864e0ca019a7245dbd7d0d3faad6b83799f4 /src
parent3cbf477c7b71771a71fed920800a9938abc3c001 (diff)
downloadQt-55b27267a6a21d15c3a505668aefed824d5cdf4e.zip
Qt-55b27267a6a21d15c3a505668aefed824d5cdf4e.tar.gz
Qt-55b27267a6a21d15c3a505668aefed824d5cdf4e.tar.bz2
Fix QT_NO_WHEELEVENT
Reviewed-by: Trust Me
Diffstat (limited to 'src')
-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 2ae13f3..4f7806f 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: