diff options
author | Axel Spoerl <[email protected]> | 2025-07-03 07:35:37 +0200 |
---|---|---|
committer | Axel Spoerl <[email protected]> | 2025-07-03 13:49:18 +0200 |
commit | 2c8692adaed1c3374ca01842e166af79ed3861cc (patch) | |
tree | 6d722e4c2cc99de4bbe983a5436017a25b4a80a9 /src/sql/kernel/qsqlresult.h | |
parent | 9671b49182f37f575eea5f0a38b67a2ba85bdd74 (diff) |
QMainWindowLayout::animationFinished(): don't show deleted tab bars
QMainWindowLayout::animationFinished(): looped over a copy of the
usedTabBars member and showed all tab bars in the container.
Showing a tab bar, can cause another in the container to become unused.
Unused tab bars were kept in a separate container and re-used, before
a3f0ce4c0d0627ef979052b34b21e6fd2bdc3acf changed this logic and deleted
unused tab bars.
This caused a regression: show() was called on a deleted tab bar,
causing a crash.
Only show tab bars from the copied container, if usedTabBars still
contains them.
Fixes: QTBUG-138201
Pick-to: 6.10 6.9
Change-Id: I33de57ab3276d1f786d27f63aebfe8ba8ddc2832
Reviewed-by: Samuel Gaist <[email protected]>
Reviewed-by: Marc Mutz <[email protected]>
Diffstat (limited to 'src/sql/kernel/qsqlresult.h')
0 files changed, 0 insertions, 0 deletions