diff options
| author | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-12-16 09:02:39 +0000 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-01-31 17:04:44 +0000 |
| commit | b712003dce1c4cf96a72ffb2ef2e3176dddf7979 (patch) | |
| tree | b46565f25198d7f0dd5caef520845862c2d30744 /src/qml/compiler/qqmlirbuilder.cpp | |
| parent | e3303da40b6af2d4b6d0d1512809a849085d207f (diff) | |
QQuickPointerMouseEvent::asMouseEvent(): check for nullptr
It could potentially crash if e.g. we're handling a Leave event,
because QQuickWindowPrivate::clearHover() creates a QQuickPointerEvent
in which m_event is null.
Change-Id: I15d6db3c74fcd4979a36b3f1d0c935e6400032a6
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
