Commit 2f988d4b authored by Alan Alpert's avatar Alan Alpert Committed by The Qt Project
Browse files

Partial fix for deferred properties when combined with components


Current deferred properties implementation did not store context
or compiled data pointers correctly. Those pointers are now stored
when the defer is reached, so as to avoid confusion (confusion leads
to asserts or crashes).

Does not extend the deferred property support to allow multiple
deferred blocks per item. This now prints and error and the side
effect is only that one of the deferred blocks is lost. This use
case is sufficiently rare that it may not be worth the cost.

Task-number: QTBUG-30325
Change-Id: I80cb074ed4452e95020208a0142a91e721bced7d
Reviewed-by: default avatarMatthew Vogt <matthew.vogt@qinetic.com.au>
Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
parent 2074386d
Branches
Tags
No related merge requests found
Showing with 96 additions and 15 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment