summaryrefslogtreecommitdiffstats
path: root/src/gui/statemachine
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-06 10:55:28 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 12:17:02 (GMT)
commit3cbf477c7b71771a71fed920800a9938abc3c001 (patch)
tree9513595cf8219f80182dedfc60cd7f9605724b2b /src/gui/statemachine
parent7713d95161bf986bb9dbd3e7a9033ce2e29b7213 (diff)
downloadQt-3cbf477c7b71771a71fed920800a9938abc3c001.zip
Qt-3cbf477c7b71771a71fed920800a9938abc3c001.tar.gz
Qt-3cbf477c7b71771a71fed920800a9938abc3c001.tar.bz2
Fix QT_NO_WHATSTHIS
Reviewed-by: tom
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 4db10ca..2ae13f3 100644
--- a/src/gui/statemachine/qguistatemachine.cpp
+++ b/src/gui/statemachine/qguistatemachine.cpp
@@ -271,8 +271,10 @@ static QEvent *cloneEvent(QEvent *e)
break;
#endif
+#ifndef QT_NO_WHATSTHIS
case QEvent::WhatsThisClicked:
return new QWhatsThisClickedEvent(*static_cast<QWhatsThisClickedEvent*>(e));
+#endif //QT_NO_WHATSTHIS
#ifndef QT_NO_TOOLBAR
case QEvent::ToolBarChange: