summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-05 11:45:05 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 12:03:19 (GMT)
commit57d34fbffb6e4a6ec650c098315c370342a5c95e (patch)
treec3a1f3bccf00f0d23d38ea96a7cd7d7776dba36e /src
parentd3b9884b73561ac50bb6aa137a23933a2e4b14d4 (diff)
downloadQt-57d34fbffb6e4a6ec650c098315c370342a5c95e.zip
Qt-57d34fbffb6e4a6ec650c098315c370342a5c95e.tar.gz
Qt-57d34fbffb6e4a6ec650c098315c370342a5c95e.tar.bz2
Fix QT_NO_STATUSTIP
Reviewed-by: paul
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 12c0dbe..544a9dc 100644
--- a/src/gui/statemachine/qguistatemachine.cpp
+++ b/src/gui/statemachine/qguistatemachine.cpp
@@ -238,8 +238,10 @@ static QEvent *cloneEvent(QEvent *e)
return new QHelpEvent(*static_cast<QHelpEvent*>(e));
case QEvent::WhatsThis:
return new QHelpEvent(*static_cast<QHelpEvent*>(e));
+#ifndef QT_NO_STATUSTIP
case QEvent::StatusTip:
return new QStatusTipEvent(*static_cast<QStatusTipEvent*>(e));
+#endif //QT_NO_STATUSTIP
#ifndef QT_NO_ACTION
case QEvent::ActionChanged:
case QEvent::ActionAdded: