summaryrefslogtreecommitdiffstats
path: root/src/process/process.pro
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-03-01 14:16:05 +0100
committerAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-03-24 11:17:46 +0000
commit9cdd03b44a09b6b40656d4a494f58384007d8aac (patch)
treeee3226bf28a850975907a1e69b45a6f85afbc224 /src/process/process.pro
parentfab5cff1171de54f43d9ab57ed16f8d0f85b433e (diff)
Fix crash when link opens a modal QDialog, using the trackpad.
When a QWebEngine link is clicked on, and as a result a modal dialog is opened, a QEvent::TouchCancel without any touch points is forwarded to Chromium, which tries to access the first touch point position, and causes a QList assertion. Fix consists of two parts: 1) Make sure that no TouchCancel is forwarded, in case if no TouchBegin or TouchUpdate was issued beforehand. 2) Because QEvent::TouchCancel events might contain an empty touch point list, and Chromium expects at least one point, make sure to forward the last saved touch points (saved in previous TouchUpdate) together with the TouchCancel. Task-number: QTBUG-48661 Change-Id: I1eeb2980417b1b04e8387dc9f82f935ef2bd8f00 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/process/process.pro')
0 files changed, 0 insertions, 0 deletions