qt5base-lts/tests/auto/widgets/itemviews
Samuel Gaist 8b1d9d308b Fix result handling in QDialog::done
The setData method of an item view would get an incorrect value of a
QDialog's result. This patch changes the order of functions called to
fix that.

[ChangeLog][QtWidgets][QDialog] Fixed a bug where accessing the result
of QDialog's result could yield an incorrect value in some situation
like using it as a delegate for item views.

Task-number: QTBUG-6018
Task-number: QTBUG-12156
Task-number: QTBUG-14430
Change-Id: I6ee4b6e8cacf6a806631c05c6c5dbcff925df65e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2017-02-07 09:09:42 +00:00
..
qabstractitemview Fix result handling in QDialog::done 2017-02-07 09:09:42 +00:00
qcolumnview tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qdatawidgetmapper tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qdirmodel QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
qfileiconprovider Updated license headers 2016-01-21 18:55:18 +00:00
qheaderview Plug memleaks in tst_QHeaderView 2017-01-26 10:32:45 +00:00
qitemdelegate Plug remaining memleaks in tests/auto/widgets/itemviews 2017-01-26 10:32:51 +00:00
qitemeditorfactory Updated license headers 2016-01-21 18:55:18 +00:00
qitemview QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
qlistview Plug remaining memleaks in tests/auto/widgets/itemviews 2017-01-26 10:32:51 +00:00
qlistwidget Plug remaining memleaks in tests/auto/widgets/itemviews 2017-01-26 10:32:51 +00:00
qtableview Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qtablewidget tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qtreeview Plug memleaks in tst_QTreeView 2017-01-26 10:32:35 +00:00
qtreewidget tst_QTreeWidget: plug memleaks 2017-01-26 10:32:30 +00:00
qtreewidgetitemiterator tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
itemviews.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00