summaryrefslogtreecommitdiff
path: root/vcl/inc/qt5
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2018-05-23 10:51:30 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-06-01 10:06:31 +0200
commit2ebd9da7d5903804743667660fc970a2a9d42321 (patch)
tree99c9fd7c95a849c30379a8d2b995fe698e0df4a9 /vcl/inc/qt5
parent8d78318307ef2ddde2972d2eb5ce839839cfc1f4 (diff)
Native leaf menus and submenus are now visible
Change-Id: Ieaac0966b167d82c8bdeb60f3ce4b9cc8589ec62
Diffstat (limited to 'vcl/inc/qt5')
-rw-r--r--vcl/inc/qt5/Qt5Menu.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/inc/qt5/Qt5Menu.hxx b/vcl/inc/qt5/Qt5Menu.hxx
index aa3948ce6d2d..38dcc3688b1f 100644
--- a/vcl/inc/qt5/Qt5Menu.hxx
+++ b/vcl/inc/qt5/Qt5Menu.hxx
@@ -12,6 +12,7 @@
#include <salmenu.hxx>
class MenuItemList;
+class QMenu;
class QMenuBar;
class Qt5MenuItem;
class Qt5Frame;
@@ -24,12 +25,9 @@ private:
Qt5Menu* mpParentSalMenu;
Qt5Frame* mpFrame;
bool mbMenuBar;
-
QMenuBar* mpQMenuBar;
- void ActivateAllSubMenus( Menu* pMenuBar );
- void Update();
-
+ void DoFullMenuUpdate( Menu* pMenuBar, QMenu* pParentMenu = nullptr );
void NativeItemText( OUString &rItemText );
public: