summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/angle/include/GLES2/gl2ext.h
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2024-03-20 18:10:45 +0100
committerAxel Spoerl <axel.spoerl@qt.io>2024-05-28 15:41:15 +0200
commita910daf52678469b7e595da5fe54aa09ba2373c3 (patch)
tree4b5f8c08e68f3879a2892181a3ec0fec6385e514 /src/3rdparty/angle/include/GLES2/gl2ext.h
parenta9ba0e96345d5b12e8fed9a500a06b529d99b652 (diff)
QDockWidget::setFloating() - reparent floating tab to main windowHEADdev
setFloating() called on the 2nd last dock widget in a floating tab didn't cause reparenting to the main window. The dock widget remained parented to a QDockWidgetGroupWindow, while no longer being part of floating tabs. The QDockWidgetGroupWindow would therefore have only one tab, which is an inconsistent state and causes crashes. Factor out the implementation of setFloating() to a new QDockWidgetPrivate::setFloating(). Reparent to the main window, if the dock widget is part of floating tabs. Add test functionality in tst_QDockWidget::setFloating(). Turn createFloatingTabs() into a macro, in order to QSKIP() in the test function's scope. Fixes: QTBUG-122394 Pick-to: 6.7 6.5 Change-Id: I3719785f310b131446cdea908f09b7195c992b3e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/3rdparty/angle/include/GLES2/gl2ext.h')
0 files changed, 0 insertions, 0 deletions