aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-04-18 10:57:18 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-04-18 16:28:07 +0200
commit838b9ee9fe3ad26e5b1fac1616cb575288f4f8a1 (patch)
treecf0c64ccea98950de7846e39d2e0e65580c0f64a /tests/auto/quick/qquicktableview/tst_qquicktableview.cpp
parentc23afb324708af2489a88a187d88b23d0e884eb3 (diff)
StackView: emit depthChanged when clearing with transition
When a transition is used in the call to clear(), then we pop the top element off the stack and start the transition for it. If we read the old depth after doing that, then it will be off by one and prevent the emission of the changed signal if that was the last element on the stack. So read the old depth already before we pop, and add a test. Fixes: QTBUG-84920 Pick-to: 6.5 6.2 Change-Id: Idae619efa25729fafbf238cb4db62472042b1cb7 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Diffstat (limited to 'tests/auto/quick/qquicktableview/tst_qquicktableview.cpp')
0 files changed, 0 insertions, 0 deletions