QHeaderView - call invalidateCachedSizeHint() on clear
authorThorbjørn Lund Martsum <tmartsum@gmail.com>
Thu, 1 Nov 2012 06:29:12 +0000 (07:29 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 2 Nov 2012 15:25:12 +0000 (16:25 +0100)
commitaa2578a1006f17cff50ca39090bae2e1e090b59b
tree5bc66e6fec942bd481ac9eaf13683b6970d768c0
parent9dfba89c28bbff3316cb7aed6c07f90c0f2d5a22
QHeaderView - call invalidateCachedSizeHint() on clear

This calls invalidateCachedSizeHint on clear, which is a logical
thing to do.

Task-number: QTBUG-22528
Change-Id: I0befb2d492599fa8a05b1c2162bbca586e1b019d
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/widgets/itemviews/qheaderview.cpp