diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-11-08 12:09:39 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-15 09:09:06 +0100 |
commit | ad91ab8b7db93ee13db18b1284542b9853183092 (patch) | |
tree | 1eba010316022940dd070202a48f540b280e533e /src/quick/items/qquickvisualdatamodel.cpp | |
parent | 54fad1bb8d7b3e249926e088b424085c9336d784 (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.cpp | 1 |
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, |