summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qabstractitemview.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2010-03-23 03:01:51 (GMT)
committerAaron McCarthy <aaron.mccarthy@nokia.com>2010-03-23 03:01:51 (GMT)
commite488b62271d89bb4056ad9b98903f8530917a4a0 (patch)
tree90f7e6d0ba3ff56c47e42848ae5eb33af45b135b /src/gui/itemviews/qabstractitemview.cpp
parent3fa7e7d082de97abfb50d28f25f22185deabd82d (diff)
parentf50f94512a22b311277ba07e09cf59e2c73bb25c (diff)
downloadQt-e488b62271d89bb4056ad9b98903f8530917a4a0.zip
Qt-e488b62271d89bb4056ad9b98903f8530917a4a0.tar.gz
Qt-e488b62271d89bb4056ad9b98903f8530917a4a0.tar.bz2
Merge remote branch 'origin/4.7' into oslo-staging-1
Conflicts: src/gui/itemviews/qabstractitemview.cpp
Diffstat (limited to 'src/gui/itemviews/qabstractitemview.cpp')
-rw-r--r--src/gui/itemviews/qabstractitemview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/itemviews/qabstractitemview.cpp b/src/gui/itemviews/qabstractitemview.cpp
index 7a1ea10..d7ddf4e 100644
--- a/src/gui/itemviews/qabstractitemview.cpp
+++ b/src/gui/itemviews/qabstractitemview.cpp
@@ -104,7 +104,7 @@ QAbstractItemViewPrivate::QAbstractItemViewPrivate()
horizontalScrollMode(QAbstractItemView::ScrollPerItem),
currentIndexSet(false),
wrapItemText(false),
- delayedPendingLayout(false),
+ delayedPendingLayout(true)
moveCursorUpdatedView(false)
{
}
@@ -132,8 +132,6 @@ void QAbstractItemViewPrivate::init()
viewport->setBackgroundRole(QPalette::Base);
- doDelayedItemsLayout();
-
q->setAttribute(Qt::WA_InputMethodEnabled);
#ifdef QT_SOFTKEYS_ENABLED