diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-05 10:39:35 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-06 12:03:19 (GMT) |
commit | d3b9884b73561ac50bb6aa137a23933a2e4b14d4 (patch) | |
tree | dc0d29405f4b4dec8d0ff8cb7e8cf66a2f749831 /src/gui/statemachine/qguistatemachine.cpp | |
parent | e0091513db8f3d9e5a54136ea5815843578b83de (diff) | |
download | Qt-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.cpp | 2 |
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); |