Details
Description
The m_pressAndHoldTimer in QMouseHandlerPrivate is deleted automatically because it is a QScopedPointer and once more because it has the QMouseHandler as a parent.
This can cause applications that uses QMouseHandler to crash on exit (or earlier, if the handler is deleted explicitly).
Attachments
For Gerrit Dashboard: QTBUG-63462 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
206913,2 | Make m_pressAndHoldTimer into a raw pointer to avoid deleting it twice | 5.9.2 | qt/qt3d | Status: MERGED | +2 | 0 |