summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-10-05 08:20:38 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-10-05 08:42:10 (GMT)
commit10dba674d366260589f3b742e5b1b87ce9ddd47c (patch)
treeded3feb9a219dba8f204d0015d2e44ef7114db20 /src/corelib/kernel
parentd1d661a1858e28befe5980c22009702f5ea82829 (diff)
downloadQt-10dba674d366260589f3b742e5b1b87ce9ddd47c.zip
Qt-10dba674d366260589f3b742e5b1b87ce9ddd47c.tar.gz
Qt-10dba674d366260589f3b742e5b1b87ce9ddd47c.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
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qcoreevent.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/kernel/qcoreevent.h b/src/corelib/kernel/qcoreevent.h
index a039d32..d66cead 100644
--- a/src/corelib/kernel/qcoreevent.h
+++ b/src/corelib/kernel/qcoreevent.h
@@ -324,7 +324,6 @@ private:
friend class QGraphicsView;
friend class QGraphicsViewPrivate;
friend class QGraphicsScenePrivate;
- friend class QGraphicsWidget;
};
class Q_CORE_EXPORT QTimerEvent : public QEvent