diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-04-25 16:00:53 +0200 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-05-29 18:16:06 +0000 |
| commit | 5e221d15170be49086f0ab8671e1b2b7831dd252 (patch) | |
| tree | 178091ce05452c161d1a6468a2538175d1c5d935 /src/qml/jsruntime/qv4arrayobject.cpp | |
| parent | dba93db9a143ebf1e74f9fdf399b81b75e44f426 (diff) | |
QQuickPointerEvent: guard all access to m_event
QQuickWindowPrivate::pointerEventInstance(device, eventType) returns
a pointer event which is not based on a QEvent: m_event will be null.
This is useful for delivering hover events, but the qDebug operator<<
crashes when it tries to print the timestamp, if we don't check for
null m_event.
Change-Id: Id3a93a1ffcae78cbf287f724da9c012a6b546b0b
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4arrayobject.cpp')
0 files changed, 0 insertions, 0 deletions
