diff options
author | kakadu <kakadu.hafanana@gmail.com> | 2013-10-24 14:55:11 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-29 23:04:18 +0100 |
commit | 4d33a38f4b11cea2123b818487ff55f0988767bc (patch) | |
tree | a1c6dc9801315b40448b630b4ad20fd53accc88f /tests/auto/qml/qqmlinstantiator/qqmlinstantiator.pro | |
parent | 3d96c688a919c3ebc0ea3822e59bbc728c68eb95 (diff) |
Fix adding created objects to instantiator.
Before all new objects were pushed into the end of QVector,
i.e. if item model changes object with low index newly created object
will be added like it has big index. So, removing objects from
instantiator was buggy.
Task-number: QTBUG-33847.
Change-Id: I49fba53a40fce72060b629f737c10b525c67cc86
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlinstantiator/qqmlinstantiator.pro')
-rw-r--r-- | tests/auto/qml/qqmlinstantiator/qqmlinstantiator.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlinstantiator/qqmlinstantiator.pro b/tests/auto/qml/qqmlinstantiator/qqmlinstantiator.pro index aa83da1509..719fd6c350 100644 --- a/tests/auto/qml/qqmlinstantiator/qqmlinstantiator.pro +++ b/tests/auto/qml/qqmlinstantiator/qqmlinstantiator.pro @@ -4,6 +4,7 @@ macx:CONFIG -= app_bundle INCLUDEPATH += ../../shared/ SOURCES += tst_qqmlinstantiator.cpp +HEADERS += stringmodel.h include (../../shared/util.pri) |