qt5base-lts/tests/auto/widgets
David Faure 77a8e90cdd QHeaderView: fix restoreState() on a model with more columns
When saving state for a 3-columns headerview and then restoring that
state onto a 5-column headerview, the headerview shouldn't suddenly think
it has 3 columns.

Rather than making restoreState() fail, we adjust for the additional
columns, so that we can still apply the customizations from the user to
all other columns (hiding, moving, etc.).

Change-Id: I3f220aa322ea8b629d2fe345f8cde13e0ea615d6
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2016-12-29 17:32:58 +00:00
..
dialogs tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
effects QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
graphicsview tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
itemviews QHeaderView: fix restoreState() on a model with more columns 2016-12-29 17:32:58 +00:00
kernel tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
styles tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
util tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
widgets Merge remote-tracking branch 'origin/5.8.0' into 5.8 2016-12-16 09:45:16 +01:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00