Reimplement QIdentityProxyModel::headerData().
authorSergio Martins <iamsergio@gmail.com>
Thu, 2 Feb 2012 17:00:13 +0000 (17:00 +0000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 3 Feb 2012 00:36:45 +0000 (01:36 +0100)
commit2614e16c41595a5175045e701cd3c2087714436c
tree914365265819f5eaa7662adb01ad144c256074f8
parent8eab9cbce2014ffc6186dd6b6fb73da85956ee86
Reimplement QIdentityProxyModel::headerData().

The one in the base class is slower due to parent<->source
mappings.

Change-Id: Ib0b337ef5d4b5b8cd9f6e1d7c5c19a770b53e0e8
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/itemmodels/qidentityproxymodel.cpp
src/corelib/itemmodels/qidentityproxymodel.h