summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-08-18 12:54:14 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-08-18 19:27:31 +0200
commit7188e650775ffd2bf4f2574094b6472c86468fba (patch)
treee456c1c82cf6d9de88ce3f63af1bb14ceca0b50a /tests/auto/widgets/widgets
parentd2359b2d4e5db6c42158d536d6e2a2af5ea1e59c (diff)
QTabBar: don't overwrite data, fix refactoring error for vertical tabs
Amends 359616066e64eed947c6c91cb8902285ed79dd0d, which incorrectly changed - tabList[i].minRect = QRect(0, miny, sz.width(), sz.height()); + tab->data = QRect(0, miny, sz.width(), sz.height()); in the code laying out verticals tabs (correct done for the horizontal case). Since QDockWidget uses the user data for tabs to maintain the mapping between tabs and dock widget, this broke the layout logic. Fixes: QTBUG-95841 Pick-to: 6.2 6.1 Change-Id: Ie785e1205b426bbc4954b965f619f4c603490f76 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/widgets/widgets')
0 files changed, 0 insertions, 0 deletions