summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-04-03 12:28:07 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-04-03 12:28:07 (GMT)
commit0ac4fd86b62f418b4e366afa86c75d7775e9da90 (patch)
treea9ca9c8b924de174c9958e69df361440bb6b74aa /src/gui/itemviews
parent0bb93751c80109a13f6391c8bbfb74693b484699 (diff)
parentf9e0b4e7d57b568ab20b7c77e284f966ff6baf41 (diff)
downloadQt-0ac4fd86b62f418b4e366afa86c75d7775e9da90.zip
Qt-0ac4fd86b62f418b4e366afa86c75d7775e9da90.tar.gz
Qt-0ac4fd86b62f418b4e366afa86c75d7775e9da90.tar.bz2
Merge branch '4.5'
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qtreeview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/itemviews/qtreeview.cpp b/src/gui/itemviews/qtreeview.cpp
index 6b222d4..6dddfab 100644
--- a/src/gui/itemviews/qtreeview.cpp
+++ b/src/gui/itemviews/qtreeview.cpp
@@ -3507,6 +3507,7 @@ void QTreeViewPrivate::updateScrollBars()
int QTreeViewPrivate::itemDecorationAt(const QPoint &pos) const
{
+ const_cast<QTreeView *>(q_func())->executeDelayedItemsLayout();
int x = pos.x();
int column = header->logicalIndexAt(x);
if (column != 0)