qt5base-lts/tests/auto/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
..
dialogs QFileDialog: Stabilize tests. 2015-05-01 06:03:10 +00:00
effects Update copyright headers 2015-02-11 06:49:51 +00:00
gestures Update copyright headers 2015-02-11 06:49:51 +00:00
graphicsview Tests: Remove insignificant for tst_QGraphicsProxyWidget 2015-05-05 12:46:05 +00:00
itemviews Fix problems with extended selection after changing the model contents 2015-03-22 14:38:07 +00:00
kernel Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
styles Update copyright headers 2015-02-11 06:49:51 +00:00
util Tests: Blacklist tests for ubuntu 14.04 2015-04-01 13:59:04 +00:00
widgets QDialogButtonBox: prevent crashes on deletions in slots 2015-05-09 08:41:23 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00