diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-11-23 01:11:38 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-11-23 10:49:13 +0100 |
commit | df39550839451ab6ad9b1fd722beb56c43bd5aa3 (patch) | |
tree | 7c54207a8bfa709775acd987a732786a9d4e9e12 /io/test/stm | |
parent | 3e65d085efa2f2d2a8a51e57b752a8ffb2e7624d (diff) |
tdf#130857 qt weld: Hide widget marked for deletion
Add a helper method QtBuilder::deleteObject
that takes care of marking no longer needed
objects for deletion and use it in the 3 places
so far calling QObject::deleteLater themselves.
If the object marked for deletion is a widget,
hide it as well, as it could otherwise still
be "in the way".
This was seen wit the edit (QLineEdit) of the editable
combobox in the "File" -> "Properties" dialog,
"General" tab (in a WIP branch for adding support
for that dialog), where the unnecessary edit was
shown on top of the combobox, hiding the combobox
content + dropdown button.
Change-Id: Ie299b80824c94d40cfac9f7962c9bd4ba95b446d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177057
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'io/test/stm')
0 files changed, 0 insertions, 0 deletions