diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-03-17 02:56:52 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-03-17 02:56:52 (GMT) |
commit | 20470e30d11733ada5443ff993d8518aa14737ca (patch) | |
tree | 81a53040ba43bfb378eeb1a9c4382a887ab8e467 /src/declarative/util/qdeclarativelistmodel.cpp | |
parent | dc829ac31694f382bf7b8a0702f73409762e36f0 (diff) | |
download | Qt-20470e30d11733ada5443ff993d8518aa14737ca.zip Qt-20470e30d11733ada5443ff993d8518aa14737ca.tar.gz Qt-20470e30d11733ada5443ff993d8518aa14737ca.tar.bz2 |
Tests for default count(), get() values should be run on the worker
list model instead of being ignored. Also do some cleaning up in the
list model.
Diffstat (limited to 'src/declarative/util/qdeclarativelistmodel.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativelistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativelistmodel.cpp b/src/declarative/util/qdeclarativelistmodel.cpp index 61e49ce..824e1b5 100644 --- a/src/declarative/util/qdeclarativelistmodel.cpp +++ b/src/declarative/util/qdeclarativelistmodel.cpp @@ -483,7 +483,7 @@ void QDeclarativeListModel::append(const QScriptValue& valuemap) qmlInfo(this) << tr("append: value is not an object"); return; } - + insert(count(), valuemap); } |