summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-06 11:55:28 +0100
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 13:17:02 +0100
commit3cbf477c7b71771a71fed920800a9938abc3c001 (patch)
tree9513595cf8219f80182dedfc60cd7f9605724b2b
parent7713d95161bf986bb9dbd3e7a9033ce2e29b7213 (diff)
Fix QT_NO_WHATSTHIS
Reviewed-by: tom
-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 4db10ca8ff..2ae13f3bcc 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: