diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2022-04-11 17:56:16 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2022-04-12 12:24:29 +0200 |
commit | f751417b77e6573a0c639778e76ec943449f4573 (patch) | |
tree | d16a7cd771f371bdf6874e11548fb84c1658fd1b /sw/CppunitTest_sw_ooxmlexport14.mk | |
parent | 88fca5281d60e487e21183953913d8b8365a9b4e (diff) |
tdf#148491 Qt reconnect the QMenuBar close button
When the QMenuBar of a QMainWindow is replaced, an existing
corner widget is preserved / transferred, but its connections
are still severed; a bit unexpected...
The documentation for QMenuBar::setCornerWidget is not really
clear what is happening, but the code has this nice comment:
"// Reparent corner widgets before we delete the old menu".
At least there is no need to explicitly delete the button.
Still we must reconnect an existing button on each SetFrame.
Regression from commit 9c4ef8ce3183e27ca174475cf4a8d15cc0368f60
("tdf#145954 Qt unshare QMenubar usage").
Change-Id: I13c31734e665b78231a08cd76ca6305122e08879
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132836
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'sw/CppunitTest_sw_ooxmlexport14.mk')
0 files changed, 0 insertions, 0 deletions