QHeaderView - move ishidden into the section
authorThorbjørn Martsum <tmartsum@gmail.com>
Wed, 2 Oct 2013 04:48:51 +0000 (06:48 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 2 Dec 2013 13:55:01 +0000 (14:55 +0100)
commit637f6507b4125cc81689e068e0de37dc5da61e73
tree11f5ebb2ad76ff41ddd01fc025f27968a4701919
parent7bf519ec6232c197d5d387c7e1665c68aa2adc6b
QHeaderView - move ishidden into the section

Since we already have the section there is no need to have an
extra structure. It simplifies the code itself and the code
is overall more efficient.

The benchmark seems to show overall performance increasement
various places (e.g insert, swapSection).

Change-Id: I623453b69a9a830908e8d9d5f3816ccebe073c9f
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/widgets/itemviews/qheaderview.cpp
src/widgets/itemviews/qheaderview_p.h