aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickvisualdatamodel.cpp
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2011-11-08 12:09:39 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-15 09:09:06 +0100
commitad91ab8b7db93ee13db18b1284542b9853183092 (patch)
tree1eba010316022940dd070202a48f540b280e533e /src/quick/items/qquickvisualdatamodel.cpp
parent54fad1bb8d7b3e249926e088b424085c9336d784 (diff)
Don't emit model reset on completing a VisualDataModel.
The views try and retain their current state as much as possible on a reset which prevents the current item being set to a valid item as would happen if the VisualDataModel was completed before the view. Change-Id: I593a850aeeb58846ab500f193487db4033e26399 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/quick/items/qquickvisualdatamodel.cpp')
-rw-r--r--src/quick/items/qquickvisualdatamodel.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/quick/items/qquickvisualdatamodel.cpp b/src/quick/items/qquickvisualdatamodel.cpp
index 990353ac47..efc03e1f04 100644
--- a/src/quick/items/qquickvisualdatamodel.cpp
+++ b/src/quick/items/qquickvisualdatamodel.cpp
@@ -557,7 +557,6 @@ void QQuickVisualDataModel::componentComplete()
d->connectModel(d->m_adaptorModel);
QVector<Compositor::Insert> inserts;
- d->m_reset = true;
d->m_compositor.append(
d->m_adaptorModel,
0,