diff options
| author | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2023-03-31 17:44:10 +0200 |
|---|---|---|
| committer | Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> | 2023-04-14 13:20:42 +0200 |
| commit | e397e5b43c9a9844e652adf5ef55365e0a40f57b (patch) | |
| tree | 6bf031fe4cedce4ec2c3b6b23e048e205138e03a /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | 8fc8a2df6ed404ff19fb59a655e669c78318bcfe (diff) | |
Fix stack layout index when loaded asynchronously
Lazy loading of stack layout causes incorrect index value in the
attached property for the child items. This is because,
attachedProperties are created and updated for the child object, after
being added to the stack layout.
This patchset triggers childItemsChanged() to reset child objects of
stack layout with right index value.
Fixes: QTBUG-111902
Pick-to: 6.4 6.5
Change-Id: Iad06d028d0f977189b5da1122904dc754060a609
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
