diff options
-rw-r--r-- | tests/auto/collections/tst_collections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/collections/tst_collections.cpp b/tests/auto/collections/tst_collections.cpp index 263c478..7c70505 100644 --- a/tests/auto/collections/tst_collections.cpp +++ b/tests/auto/collections/tst_collections.cpp @@ -3878,7 +3878,7 @@ struct ExtList : QList<T> { } void insert(typename QList<T>::iterator before, int n, const T&x) { while (n--) { - this->insert(before, x ); + before = this->insert(before, x); } } |