QHeaderView - do simple section move/rotate in moveSection
authorThorbjørn Martsum <tmartsum@gmail.com>
Tue, 1 Oct 2013 04:36:29 +0000 (06:36 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 18 Feb 2014 08:54:59 +0000 (09:54 +0100)
commitf4044e853cdb66a7f7f7e61df78434243b85b03d
tree5fc8c4937269ab73ab952d6cf67d8384df625b2b
parent072f9cf8887043a9c69365abc98d72b5f5beb6b8
QHeaderView - do simple section move/rotate in moveSection

It is in nearly all cases much faster (in our benchmark it is
about a factor 8) - and it also makes the code more readable.

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