aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls/qquickgroupbox_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@gmail.com>2015-08-28 13:35:19 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-08-28 13:36:16 +0000
commitb9e1bb07a97877d074267470409d1e6b0dd3a330 (patch)
tree4355caf95b2fc19dde45315d0d4ebfb1065052c9 /src/controls/qquickgroupbox_p.h
parent11f463fc11fe799f439a1a12ca0ea1d9b1cf2a96 (diff)
StackView: fix ownership issues
QTBUG-47317 revealed that dynamically created items remained visible after popping, so they were not only kept visible but also weren't properly destroyed. The visibility issue had to be fixed so that "indestructible" (not owned by StackView) were hid. This change tackles the destruction part, and marks pop-exit items for removal so they get destroyed when transitions are finished. Now that the transitionable items are actually destroyed, a new problem was releaved. We must not delete transitionable items until both enter & exit transitions have been finished. If we did that, the finished() callback would not get called for the pop-exit transition and tst_StackView::test_transitions() would fail (yay). Change-Id: Ie2eedf99d0366820260776591ad1f8b5b68e2ec3 Task-number: QTBUG-47317 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/controls/qquickgroupbox_p.h')
0 files changed, 0 insertions, 0 deletions