summaryrefslogtreecommitdiffstats
path: root/src/gui/statemachine/qguistatemachine.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-11-05 10:39:35 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-11-06 12:03:19 (GMT)
commitd3b9884b73561ac50bb6aa137a23933a2e4b14d4 (patch)
treedc0d29405f4b4dec8d0ff8cb7e8cf66a2f749831 /src/gui/statemachine/qguistatemachine.cpp
parente0091513db8f3d9e5a54136ea5815843578b83de (diff)
downloadQt-d3b9884b73561ac50bb6aa137a23933a2e4b14d4.zip
Qt-d3b9884b73561ac50bb6aa137a23933a2e4b14d4.tar.gz
Qt-d3b9884b73561ac50bb6aa137a23933a2e4b14d4.tar.bz2
Fix QT_NO_TOOLBAR
Reviewed-by: tom
Diffstat (limited to 'src/gui/statemachine/qguistatemachine.cpp')
-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 1de5ffa..12c0dbe 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);