qt5base-lts/tests/auto/widgets
André Somers 4c00246fea Fixed crash taking null central widget
When no central widget has been set, calling takeCentralWidget should
just return a null pointer instead of crashing.

[ChangeLog][QtWidgets][QMainWindow] Fixed crash using takeCentralWidget when
the central widget was not set.

Task-number: QTBUG-56628
Change-Id: I240ccf4caa41d2716a78851571fbfbf444a4922e
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
2016-10-28 14:11:42 +00:00
..
dialogs Plug leaks in tst_QWizard 2016-10-22 10:20:22 +00:00
effects Purge sRGB chunks from PNGs in tests. 2016-03-29 08:39:43 +00:00
gestures Autotest: Remove blacklistings 2016-04-01 05:41:21 +00:00
graphicsview tst_QGraphicsItem: plug remaining leaks 2016-10-22 10:20:14 +00:00
itemviews QAbstractItemView: use only a 1x1 QRect for selecting on mouse press 2016-10-07 10:38:58 +00:00
kernel Plug remaining leaks in tests/auto/widgets/kernel 2016-10-21 21:48:26 +00:00
styles Plug remaining leaks in tests/auto/widgets/style 2016-09-30 10:45:34 +00:00
util Plug remaining leaks in tests/auto/widgets/util 2016-10-02 11:28:23 +00:00
widgets Fixed crash taking null central widget 2016-10-28 14:11:42 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00