summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-05 11:39:35 +0100
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 13:03:19 +0100
commitd3b9884b73561ac50bb6aa137a23933a2e4b14d4 (patch)
treedc0d29405f4b4dec8d0ff8cb7e8cf66a2f749831 /src
parente0091513db8f3d9e5a54136ea5815843578b83de (diff)
Fix QT_NO_TOOLBAR
Reviewed-by: tom
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 1de5ffa7d7..12c0dbe256 100644
--- a/src/gui/statemachine/qguistatemachine.cpp
+++ b/src/gui/statemachine/qguistatemachine.cpp
@@ -266,8 +266,10 @@ static QEvent *cloneEvent(QEvent *e)
case QEvent::WhatsThisClicked:
return new QWhatsThisClickedEvent(*static_cast<QWhatsThisClickedEvent*>(e));
+#ifndef QT_NO_TOOLBAR
case QEvent::ToolBarChange:
return new QToolBarChangeEvent(*static_cast<QToolBarChangeEvent*>(e));
+#endif //QT_NO_TOOLBAR
case QEvent::ApplicationActivate:
return new QEvent(*e);