diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-05 11:45:05 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-06 12:03:19 (GMT) |
commit | 57d34fbffb6e4a6ec650c098315c370342a5c95e (patch) | |
tree | c3a1f3bccf00f0d23d38ea96a7cd7d7776dba36e /src | |
parent | d3b9884b73561ac50bb6aa137a23933a2e4b14d4 (diff) | |
download | Qt-57d34fbffb6e4a6ec650c098315c370342a5c95e.zip Qt-57d34fbffb6e4a6ec650c098315c370342a5c95e.tar.gz Qt-57d34fbffb6e4a6ec650c098315c370342a5c95e.tar.bz2 |
Fix QT_NO_STATUSTIP
Reviewed-by: paul
Diffstat (limited to 'src')
-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 12c0dbe..544a9dc 100644 --- a/src/gui/statemachine/qguistatemachine.cpp +++ b/src/gui/statemachine/qguistatemachine.cpp @@ -238,8 +238,10 @@ static QEvent *cloneEvent(QEvent *e) return new QHelpEvent(*static_cast<QHelpEvent*>(e)); case QEvent::WhatsThis: return new QHelpEvent(*static_cast<QHelpEvent*>(e)); +#ifndef QT_NO_STATUSTIP case QEvent::StatusTip: return new QStatusTipEvent(*static_cast<QStatusTipEvent*>(e)); +#endif //QT_NO_STATUSTIP #ifndef QT_NO_ACTION case QEvent::ActionChanged: case QEvent::ActionAdded: |