diff options
| author | Mitch Curtis <mitch.curtis@qt.io> | 2022-06-06 16:02:15 +0800 |
|---|---|---|
| committer | Mitch Curtis <mitch.curtis@qt.io> | 2022-06-10 10:32:34 +0800 |
| commit | dbd108a7997f129004bbed523db75d4aa9d0ab6c (patch) | |
| tree | 399883edff051d79f928a038b681be5ebf761dd3 /tests/auto/qml/qmlcppcodegen/data/cppbaseclass.h | |
| parent | e58626a02b7431b06333429aae80c6d23f904ddc (diff) | |
Item views: fix error when accessing attached view from non-delegates
Ensure that the view is set on the relevant attached objects before
QQmlComponent::completeCreate() is called, which would otherwise result
in a TypeError because the view would be set too late.
Fixes: QTBUG-104026
Task-number: QTBUG-98718
Pick-to: 6.2 6.3 6.4
Change-Id: Ic65370bd4534e7452f2377ab4d60a74badf02079
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/data/cppbaseclass.h')
0 files changed, 0 insertions, 0 deletions
