summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorAleksei Nikiforov <darktemplar@basealt.ru>2019-02-27 15:02:15 +0300
committerMichael Weghorn <m.weghorn@posteo.de>2019-02-28 09:30:19 +0100
commit5df2207997aa5de50abd3ce6e47bc20ab53dfb61 (patch)
tree537a4b1ef94705cf949e266513b647491943e4c6 /vcl/inc
parente14015edd9fb090bf7444f850dff42c84321bb35 (diff)
KDE5: set correct parent menu in function
Set correct parent menu in function Qt5Menu::InsertMenuItem instead of just returning it and setting it later if needed. Change-Id: Id866987e91ec1d57c720735da6afc44109aa901a Reviewed-on: https://gerrit.libreoffice.org/68437 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit c74cc70966e9bc3756509f4d50af50ec181e1774) Reviewed-on: https://gerrit.libreoffice.org/68459 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/qt5/Qt5Menu.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/qt5/Qt5Menu.hxx b/vcl/inc/qt5/Qt5Menu.hxx
index 1ad62a82b9bd..fb2f7e17027b 100644
--- a/vcl/inc/qt5/Qt5Menu.hxx
+++ b/vcl/inc/qt5/Qt5Menu.hxx
@@ -35,7 +35,7 @@ private:
void DoFullMenuUpdate(Menu* pMenuBar);
static void NativeItemText(OUString& rItemText);
- QMenu* InsertMenuItem(Qt5MenuItem* pSalMenuItem, unsigned nPos);
+ void InsertMenuItem(Qt5MenuItem* pSalMenuItem, unsigned nPos);
void ReinitializeActionGroup(unsigned nPos);
void ResetAllActionGroups();