tdf#120814 KDE5: Assign images to menu items on first build of menu
Treat submenu items similarly to action items. Qt5MenuItem controls lifetime of menus and actions instead of QMenu or QMenuBar. Qt5MenuItem may need to remove menus, and thus it may need to delete it. But if QMenu or QMenuBar owns menu, then on application exit a crash may happen due to order of destruction of objects. Change-Id: I66138c5692bd4955e78a805cc774ff9fc8fefb99 Reviewed-on: https://gerrit.libreoffice.org/63886 Tested-by: Jenkins Reviewed-by:Katarina Behrens <Katarina.Behrens@cib.de> KDE5: fix build with Qt-5.6 Change-Id: Ic4aef6b22d5b9c7262a534e26363c8f8cef99859 Reviewed-on: https://gerrit.libreoffice.org/64321Reviewed-by:
Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by:
Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-on: https://gerrit.libreoffice.org/65150 Tested-by: Jenkins Reviewed-by:
Aleksei Nikiforov <darktemplar@basealt.ru> Reviewed-by:
Michael Weghorn <m.weghorn@posteo.de>
Showing
Please
register
or
sign in
to comment