summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmllistmodel.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-09-09 04:13:32 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-09-09 04:13:32 (GMT)
commit5ad67ddc40263cabd3fd99fb57c8f095403bcbbe (patch)
treea06b3640b8e3d6fe431acba0ba42a27ffbae0d87 /src/declarative/util/qmllistmodel.cpp
parent14e787b7e5abc1d665ba0e0229f60525283b1e38 (diff)
parenta57af1d6856ffa3a50eb1e0cdd1653b7b4ebdb41 (diff)
downloadQt-5ad67ddc40263cabd3fd99fb57c8f095403bcbbe.zip
Qt-5ad67ddc40263cabd3fd99fb57c8f095403bcbbe.tar.gz
Qt-5ad67ddc40263cabd3fd99fb57c8f095403bcbbe.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r--src/declarative/util/qmllistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qmllistmodel.cpp b/src/declarative/util/qmllistmodel.cpp
index dc6b02b..82942f6 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -446,7 +446,7 @@ void QmlListModel::remove(int index)
{
if (_root) {
ModelNode *node = qvariant_cast<ModelNode *>(_root->values.at(index));
- _root->values.remove(index);
+ _root->values.removeAt(index);
if (node)
delete node;
emit itemsRemoved(index,1);