diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-02-24 12:58:56 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-02-24 12:14:21 +0000 |
commit | 398691d74e9a2bc944a4816ebc78d0beef780fec (patch) | |
tree | bcf9f989cec3084b0cbe005a835e4039597c4c96 /tests/auto/controls | |
parent | ec1f70c4c58b923ff50eb4adc36c88e5a6611281 (diff) |
QQuickStackView: fix pop/replace exit leak
QQuickStackView did not keep track of the element that was exiting
the view during a pop/replace exit transition, but it was expecting
viewItemTransitionFinished() to be called and cleaned up the element
there. If a pop/replace exit transition was running at the destruction
time, QQuickStackView did not clean up the element at all (because it
had been already removed from the internal stack of elements) and thus
the transition was left running.
Task-number: QTBUG-59034
Change-Id: I3cd7c761fab79574b9a7cc849788f36765def45b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/controls')
-rw-r--r-- | tests/auto/controls/data/tst_stackview.qml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/controls/data/tst_stackview.qml b/tests/auto/controls/data/tst_stackview.qml index 5c0d20d1..afb23bae 100644 --- a/tests/auto/controls/data/tst_stackview.qml +++ b/tests/auto/controls/data/tst_stackview.qml @@ -166,8 +166,6 @@ TestCase { compare(item1.StackView.status, StackView.Activating) tryCompare(item2.StackView, "status", StackView.Inactive) tryCompare(item1.StackView, "status", StackView.Active) - // QTBUG-59034 - tryCompare(control, "busy", false) } function test_index() { |