qt6-bb10/tests/auto/widgets
David Faure 4a04eea4f4 QHeaderView: fix inconsistent saved state, ignored during restore
The code that updates a section size must also update length,
otherwise saveState can end up saving inconsistent state, and
restoreState() goes to an early-return, not doing anything.

The actual bug was fixed meanwhile because _q_sectionsChanged is called
again, which recalculates length. I still see this only as a safety
measure, every other code path that changes section sizes updates length
right away.

Change-Id: I6cc16261692d93b3640afafef600a5bdff8dca0c
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2018-03-07 05:29:16 +00:00
..
dialogs Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
effects Set sharedPainter correctly for QGraphicsEffect 2017-12-12 20:21:07 +00:00
graphicsview Blacklist tst_QGraphicsView::itemsInRect_cosmeticAdjust on Ubuntu 2018-03-05 07:27:17 +00:00
itemviews QHeaderView: fix inconsistent saved state, ignored during restore 2018-03-07 05:29:16 +00:00
kernel Blacklist tst_QApplication::touchEventPropagation on openSUSE 2018-03-02 07:21:04 +00:00
styles Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
util Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
widgets QLineEdit: Clear input context commit string after test functions 2018-02-19 14:24:09 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00