diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-10-05 08:20:38 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-10-05 09:51:44 (GMT) |
commit | a1a1e5f064647dd012790126fd3281d59ca05d18 (patch) | |
tree | ded3feb9a219dba8f204d0015d2e44ef7114db20 /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp | |
parent | b65da11b64615d558b007d4ebc821c435af24b0f (diff) | |
download | Qt-a1a1e5f064647dd012790126fd3281d59ca05d18.zip Qt-a1a1e5f064647dd012790126fd3281d59ca05d18.tar.gz Qt-a1a1e5f064647dd012790126fd3281d59ca05d18.tar.bz2 |
Make QEventTransition works with QGraphicsObject.
QStateMachine framework installs QObject event filters to catch events
in order to triggers the proper transition. But installing a QObject event
filter on a QGraphicsObject gives nothing because QGraphicsView events
filters works differently. In order to make this works we now post
events using QApplication::postEvent in addition to the QGraphicsView
events.
Reviewed-by:andreas
(cherry picked from commit 10dba674d366260589f3b742e5b1b87ce9ddd47c)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions