diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2018-07-31 13:49:58 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-08-14 20:07:47 +0000 |
commit | 540525bceb23d63198f89a0987c4a6042b323ce0 (patch) | |
tree | a5dbd28540df470fe49eca291c83c7751239ad70 /src/plugins/platforms/offscreen | |
parent | 4fdda5a584f7ecf68a0a9ac4006c2abd730b918c (diff) |
Windows QPA: Do not double delete the QTouchDevice
This caused a crash on destruction because as soon as you construct a
QTouchDevice it will register itself to a list of devices. On application
exit the function cleanupDevicesList() in qtouchdevice.cpp would go
through all registered QTouchDevices and destroy them. Therefore, there
is no need to delete the QTouchDevice from QWindowsPointerHandler.
This was a regression that was caused by
20d6dac63c25d227ed5315801e3e853ee78ec248
Change-Id: I58fb50016c047c3843a3f9677f2c2ef824223d43
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Andre de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'src/plugins/platforms/offscreen')
0 files changed, 0 insertions, 0 deletions