Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63462

Double delete of QTimer in QMouseHandler

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.9.2
    • 5.9.2
    • Qt3D
    • None
    • All environments
    • 106061ee65e8675fbee6a1db95da855db6a16662

    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

        Activity

          People

            dragly Svenn-Arne Dragly
            dragly Svenn-Arne Dragly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes