qt5base-lts/tests/auto/widgets/widgets
Giuseppe D'Angelo 1ac1ae05f5 QDialogButtonBox: prevent crashes on deletions in slots
As usual, user code connected to signals emitted from Qt may destroy
an object's internal status while a signal is being emitted.

Guard a bit QDialogButtonBox signal emissions to prevent
crashes in case the button or a dialog get deleted from a slot
connected to clicked(). Also, be sure to emit the corresponding
accepted/rejected/etc. signal.

Change-Id: I7b1888070a8f2f56aa60923a17f90fb5efef145c
Task-number: QTBUG-45835
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2015-05-09 08:41:23 +00:00
..
qabstractbutton Update copyright headers 2015-02-11 06:49:51 +00:00
qabstractscrollarea Update copyright headers 2015-02-11 06:49:51 +00:00
qabstractslider autotests: fix the build in case of QT_NO_WHEELEVENT 2015-03-03 13:30:39 +00:00
qabstractspinbox Update copyright headers 2015-02-11 06:49:51 +00:00
qbuttongroup Update copyright headers 2015-02-11 06:49:51 +00:00
qcalendarwidget Update copyright headers 2015-02-11 06:49:51 +00:00
qcheckbox Update copyright headers 2015-02-11 06:49:51 +00:00
qcombobox Tests: Blacklist task260974_menuItemRectangleForComboBoxPopup 2015-04-24 13:43:06 +00:00
qcommandlinkbutton Update copyright headers 2015-02-11 06:49:51 +00:00
qdatetimeedit autotests: fix the build in case of QT_NO_WHEELEVENT 2015-03-03 13:30:39 +00:00
qdial Update copyright headers 2015-02-11 06:49:51 +00:00
qdialogbuttonbox QDialogButtonBox: prevent crashes on deletions in slots 2015-05-09 08:41:23 +00:00
qdockwidget QMainWindow::restoreDockWidget(): Fix positioning of floating docks with native decoration. 2015-04-26 13:15:57 +00:00
qdoublespinbox Update copyright headers 2015-02-11 06:49:51 +00:00
qfocusframe Update copyright headers 2015-02-11 06:49:51 +00:00
qfontcombobox Update copyright headers 2015-02-11 06:49:51 +00:00
qframe Update copyright headers 2015-02-11 06:49:51 +00:00
qgroupbox Update copyright headers 2015-02-11 06:49:51 +00:00
qkeysequenceedit Update copyright headers 2015-02-11 06:49:51 +00:00
qlabel Update copyright headers 2015-02-11 06:49:51 +00:00
qlcdnumber Update copyright headers 2015-02-11 06:49:51 +00:00
qlineedit QLineEdit: show the clear button if it gets enabled after setting a text 2015-05-07 22:24:25 +00:00
qmainwindow Update copyright headers 2015-02-11 06:49:51 +00:00
qmdiarea Update copyright headers 2015-02-11 06:49:51 +00:00
qmdisubwindow Update copyright headers 2015-02-11 06:49:51 +00:00
qmenu Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
qmenubar Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
qopenglwidget Fix incorrect FBO bindings with QOpenGLWidget 2015-03-30 20:48:07 +00:00
qplaintextedit Add missing QPlainTextEdit::createStandardContextMenu(QPoint) 2015-02-15 14:25:01 +00:00
qprogressbar Update copyright headers 2015-02-11 06:49:51 +00:00
qpushbutton QAbstractButton: emit released on focus out or disable 2015-03-10 11:35:32 +00:00
qradiobutton Update copyright headers 2015-02-11 06:49:51 +00:00
qscrollarea Update copyright headers 2015-02-11 06:49:51 +00:00
qscrollbar Update copyright headers 2015-02-11 06:49:51 +00:00
qsizegrip Update copyright headers 2015-02-11 06:49:51 +00:00
qslider Update copyright headers 2015-02-11 06:49:51 +00:00
qspinbox Update copyright headers 2015-02-11 06:49:51 +00:00
qsplashscreen Merge remote-tracking branch 'origin/5.4' into 5.5 2015-02-24 21:02:08 +01:00
qsplitter Update copyright headers 2015-02-11 06:49:51 +00:00
qstackedwidget Update copyright headers 2015-02-11 06:49:51 +00:00
qstatusbar Update copyright headers 2015-02-11 06:49:51 +00:00
qtabbar Update copyright headers 2015-02-11 06:49:51 +00:00
qtabwidget Update copyright headers 2015-02-11 06:49:51 +00:00
qtextbrowser Update copyright headers 2015-02-11 06:49:51 +00:00
qtextedit Update copyright headers 2015-02-11 06:49:51 +00:00
qtoolbar Update copyright headers 2015-02-11 06:49:51 +00:00
qtoolbox Update copyright headers 2015-02-11 06:49:51 +00:00
qtoolbutton Update copyright headers 2015-02-11 06:49:51 +00:00
widgets.pro QFrame: add unit test 2014-11-04 15:31:04 +01:00