summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorThorbjørn Lund Martsum <tmartsum@gmail.com>2012-02-23 09:56:12 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-24 14:55:06 +0100
commite8952aba2914722b0ad0e6f07e2193ead7f2e39d (patch)
treee494f1a64f3a81e60770a632134b42c9534cc19d /doc/src
parent9387a9de6d779590727474e546799bfb9730e57b (diff)
QHeaderView - change not needed if to Q_ASSERT
This removes an if that should always be false. If it isn't false we had more logical indexes than sections. Unless visualIndices and logicalIndices are both 0-sized (meaning that visual and logical indexes are the same) then they better have exactly as many indexes as sectionCount. Otherwise there must be inconsistent data - some logicalindex would refer to non-existing visual sections or some visualindeces wouldn't be hit by logicalIndices. Change-Id: I2dc92f40895438d912bba20612131baf63df4fbe Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions