diff options
author | Svenn-Arne Dragly <svenn-arne.dragly@qt.io> | 2017-09-27 13:38:50 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2017-09-28 04:13:18 +0000 |
commit | 106061ee65e8675fbee6a1db95da855db6a16662 (patch) | |
tree | c72bd530ca0d6d857e5782cd59a7e08fa9e8674e /dist | |
parent | 72e80520d36802672eca1e93bc6c6019e6f5ffc3 (diff) |
Make m_pressAndHoldTimer into a raw pointer to avoid deleting it twice
The timer is parented to the QMouseHandler (introduced in
595b4add0ce6f32bb8ffc56b3a59e6e5bf0b000a) and was therefore deleted both
by the parent and by the QScopedPointer, leading to crash on exit.
This commit removes the QScopedPointer and uses a raw pointer instead.
Task-number: QTBUG-63462
Change-Id: I6b031caf7cb69ccbde74995661f4ce8c73f21d88
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions