summaryrefslogtreecommitdiffstats
path: root/src/network/socket
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-08-18 11:39:01 +0200
committerMorten Johan Sørvig <morten.sorvig@theqtcompany.com>2015-09-02 07:28:18 +0000
commit111ee58c065602bfcde520b54f44809d854e73f0 (patch)
treefdf5c0875247708e964d67f6fcbc0f70084cbe68 /src/network/socket
parent6f9e845d9b02ed2becaab4af837535173dad2068 (diff)
Prevent QGestureManager crash.
Use QPointer to prevent dereferencing stale pointers stored in m_gestureTargets. Add null pointer tests in addition to the Q_ASSERTs on the pointers returned by m_gestureTargets.value(). The intention is to assert in debug mode but keep going in release mode. Change-Id: Icdef8cc02040bddc88f4bcb268e9ca0ac252557d Task-number: QTBUG-46264 Reviewed-by: Pawel Kurdybacha <pawel.kurdybacha@gmail.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'src/network/socket')
0 files changed, 0 insertions, 0 deletions