diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-06 13:06:16 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2009-10-06 13:07:23 (GMT) |
commit | 971adae01406f71ed9f0bb9cb2be5eddc259e77e (patch) | |
tree | ab9b6f48dd60416afc982566110b0616e2edc1f5 | |
parent | f83ae188edb09a94b25b962c8a8b793180d22b67 (diff) | |
download | Qt-971adae01406f71ed9f0bb9cb2be5eddc259e77e.zip Qt-971adae01406f71ed9f0bb9cb2be5eddc259e77e.tar.gz Qt-971adae01406f71ed9f0bb9cb2be5eddc259e77e.tar.bz2 |
compile without QT3SUPPORT
Reviewed-by: thartman
-rw-r--r-- | src/gui/statemachine/qguistatemachine.cpp | 2 |
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"); |