diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-08 06:48:01 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-09-08 06:48:01 (GMT) |
commit | a5b44447698afea24a5a691e4df852428a75d366 (patch) | |
tree | e4365ce608d86c638ce62922b510ba8a778ea9f7 /src/declarative/util/qmllistmodel.cpp | |
parent | cad3b0bdacdbdf407dfbdda5f6dc9cb7d96fa709 (diff) | |
download | Qt-a5b44447698afea24a5a691e4df852428a75d366.zip Qt-a5b44447698afea24a5a691e4df852428a75d366.tar.gz Qt-a5b44447698afea24a5a691e4df852428a75d366.tar.bz2 |
Don't use qt3support methods
Diffstat (limited to 'src/declarative/util/qmllistmodel.cpp')
-rw-r--r-- | src/declarative/util/qmllistmodel.cpp | 2 |
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); |