summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-06 13:06:16 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-06 13:07:23 (GMT)
commit971adae01406f71ed9f0bb9cb2be5eddc259e77e (patch)
treeab9b6f48dd60416afc982566110b0616e2edc1f5 /src/gui
parentf83ae188edb09a94b25b962c8a8b793180d22b67 (diff)
downloadQt-971adae01406f71ed9f0bb9cb2be5eddc259e77e.zip
Qt-971adae01406f71ed9f0bb9cb2be5eddc259e77e.tar.gz
Qt-971adae01406f71ed9f0bb9cb2be5eddc259e77e.tar.bz2
compile without QT3SUPPORT
Reviewed-by: thartman
Diffstat (limited to 'src/gui')
-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 5ff1164..1de5ffa 100644
--- a/src/gui/statemachine/qguistatemachine.cpp
+++ b/src/gui/statemachine/qguistatemachine.cpp
@@ -305,8 +305,10 @@ static QEvent *cloneEvent(QEvent *e)
case QEvent::AcceptDropsChange:
return new QEvent(*e);
+#ifdef QT3_SUPPORT
case QEvent::MenubarUpdated:
return new QMenubarUpdatedEvent(*static_cast<QMenubarUpdatedEvent*>(e));
+#endif
case QEvent::ZeroTimerEvent:
Q_ASSERT_X(false, "cloneEvent()", "not implemented");