summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/gestures/tst_gestures.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-01-04 16:10:03 +0100
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-01-05 06:08:03 +0000
commit60c333cabaf7514790c35f382a9f7f074fb7c20c (patch)
treec4a4918d940ad3132770b386d5fcbb7384f8a3d8 /tests/auto/other/gestures/tst_gestures.cpp
parent0cee94017f441be09518a190ac1c4cbd8a76adc6 (diff)
QMacPanGestureRecognizer - stop timer on 'reset'
_panTimer has a target - for example, widget. 'reset' should stop this timer. The problem (quite subtle and difficult to reproduce) found in tst_QTouchEvent: widgets created/destoryed by different tests but we still can have a timer waiting for event dispatcher to 'processEvents', firing with now-invalid dangling pointer - 'target'. Change-Id: Iccaf3368a8ee6a0a2f60e9dcdf5d40fb7392ca21 Task-number: QTBUG-49844 Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'tests/auto/other/gestures/tst_gestures.cpp')
0 files changed, 0 insertions, 0 deletions