summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qabstractitemview_p.h
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-10-29 11:03:34 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-10-29 11:50:52 (GMT)
commit316bf04887aed61804e16d64857754b78cf2f713 (patch)
tree42adc2189672e8b0763bf8a8c57841885d91b8d2 /src/gui/itemviews/qabstractitemview_p.h
parent0f1aeb863474d2894a896fb28ea8eae8d736a363 (diff)
downloadQt-316bf04887aed61804e16d64857754b78cf2f713.zip
Qt-316bf04887aed61804e16d64857754b78cf2f713.tar.gz
Qt-316bf04887aed61804e16d64857754b78cf2f713.tar.bz2
ItemViews: make the geometries update when header data changes
autotest included Task-number: QT-711 Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/itemviews/qabstractitemview_p.h')
-rw-r--r--src/gui/itemviews/qabstractitemview_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemviews/qabstractitemview_p.h b/src/gui/itemviews/qabstractitemview_p.h
index 66b7662..c691f61 100644
--- a/src/gui/itemviews/qabstractitemview_p.h
+++ b/src/gui/itemviews/qabstractitemview_p.h
@@ -117,6 +117,7 @@ public:
virtual void _q_columnsInserted(const QModelIndex &parent, int start, int end);
virtual void _q_modelDestroyed();
virtual void _q_layoutChanged();
+ void _q_headerDataChanged() { doDelayedItemsLayout(); }
void fetchMore();