summaryrefslogtreecommitdiffstats
path: root/src/gui/statemachine
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-01-06 12:45:29 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-01-06 12:45:29 (GMT)
commita628b5579a977594cf125110589c8bd5096db380 (patch)
tree104988aaef8d19f7a24610eef50ebb9633eaa376 /src/gui/statemachine
parent982cffb529f65c7d0c401844ef9af1925e550ffb (diff)
parente8b3defc466fff9110ee00b6e730d405cde52abc (diff)
downloadQt-a628b5579a977594cf125110589c8bd5096db380.zip
Qt-a628b5579a977594cf125110589c8bd5096db380.tar.gz
Qt-a628b5579a977594cf125110589c8bd5096db380.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
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 4f7806f..c3a9228 100644
--- a/src/gui/statemachine/qguistatemachine.cpp
+++ b/src/gui/statemachine/qguistatemachine.cpp
@@ -186,8 +186,10 @@ static QEvent *cloneEvent(QEvent *e)
case QEvent::DeactivateControl:
return new QEvent(*e);
+#ifndef QT_NO_CONTEXTMENU
case QEvent::ContextMenu:
return new QContextMenuEvent(*static_cast<QContextMenuEvent*>(e));
+#endif
case QEvent::InputMethod:
return new QInputMethodEvent(*static_cast<QInputMethodEvent*>(e));
case QEvent::AccessibilityPrepare: