summaryrefslogtreecommitdiffstats
path: root/src/declarative/util
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-08 06:48:01 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-09-08 06:48:01 (GMT)
commita5b44447698afea24a5a691e4df852428a75d366 (patch)
treee4365ce608d86c638ce62922b510ba8a778ea9f7 /src/declarative/util
parentcad3b0bdacdbdf407dfbdda5f6dc9cb7d96fa709 (diff)
downloadQt-a5b44447698afea24a5a691e4df852428a75d366.zip
Qt-a5b44447698afea24a5a691e4df852428a75d366.tar.gz
Qt-a5b44447698afea24a5a691e4df852428a75d366.tar.bz2
Don't use qt3support methods
Diffstat (limited to 'src/declarative/util')
-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 a5ae60f..5b7d2bb 100644
--- a/src/declarative/util/qmllistmodel.cpp
+++ b/src/declarative/util/qmllistmodel.cpp
@@ -407,7 +407,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);