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

Calling setHidden() in the widgets destructor causes an application crash

XMLWordPrintable

      If QWidget::setHidden(bool hidden) is called in the widgets destructor the application crashes. The problem is that in src/gui/kernel/qapplication.cpp in function void QApplicationPrivate::sendSyntheticEnterLeave(QWidget *widget), the widgetUnderCursor is the widget that was being deleted.

      The patch that fixes this bug is attached to this bugreport.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kavi Kalle Viironen
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes