Go to file
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
bin Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
config.tests Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
dist Make coordinates float based where it makes sense. 2012-01-25 02:23:25 +01:00
doc/src Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
examples Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmake Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
src QHeaderView - length returns wrong value fix 2012-01-30 06:29:42 +01:00
tests QHeaderView - length returns wrong value fix 2012-01-30 06:29:42 +01:00
tools 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
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Remove references to openvgversion.h 2012-01-14 14:48:16 +01:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
configure.exe Add a new QT_NO_SSL feature macro. 2012-01-06 11:19:23 +01:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Remove support for the MNG file format and the bundled libmng 2012-01-25 02:22:18 +01:00
sync.profile Remove references to openvgversion.h 2012-01-14 14:48:16 +01:00