qt5base-lts/tests/auto/widgets
Thorbjørn Lund Martsum 125016ad24 QHeaderView - length returns wrong value fix
setSectionHidden called with (logindex, true) will
sometimes prevent a (correct) call to
resizeSection(logicalIndex, 0).
This seems a bit odd - however it does execute
d->doDelayedResizeSections().
Therefore the section is going to be hidden later.

However it is a problem that the length meanwhile is wrong.
(That is a value that is not the sum of the sections)

This is fixed by execute updates before returning the
length.

Task-number: QTBUG-14242

Change-Id: Ia1d2f6db3213792b250a6a37942b56554261cd3a
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
2012-01-30 06:29:42 +01:00
..
dialogs Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
effects Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
graphicsview Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
itemviews QHeaderView - length returns wrong value fix 2012-01-30 06:29:42 +01:00
kernel Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
shared Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
styles Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
util Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
widgets Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00