diff options
Diffstat (limited to 'src')
-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); |