QMainWindowLayout::unusedTabBars contains unparented tab bars. They are leaked when QMainWindow and its layout get destroyed. They still are in QApplication::allWidgets(), which attempts to delete them eventually. When that happens, they try to remove themselves from an already deleted QMainWindowLayout::unusedTabBars. Delete all unused tab bars in the d'tor of QMainWindowLayout. Task-number: QTBUG-135468 Pick-to: 6.8 6.5 Change-Id: I5ac7748ef738955522567db585e9505e3ba435ad Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 23357e59bb4dc54e76a237b290aa64a620db2ea1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%