summaryrefslogtreecommitdiff
path: root/vcl/inc/qt5/Qt5Menu.hxx
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2019-03-15 23:29:55 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2019-03-19 20:33:03 +0100
commit612650147cb85e52d317142d022db99a28c0d98a (patch)
tree8152c9c43019c7f2e5bffa4e0759a4c10bc1c690 /vcl/inc/qt5/Qt5Menu.hxx
parentdaa4aef1512eb7a6b615720725a5a682b0030f8e (diff)
tdf#123379: implement native menu bar toggle on/off
qt5 didn't provide implementation of virtual SalMenu::ShowMenuBar so native menu bar was visible at all times. Hopefully notebookbar fans are happier now Change-Id: Ie581397521369160e16f40231bade40100dcd6f6 Reviewed-on: https://gerrit.libreoffice.org/69327 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl/inc/qt5/Qt5Menu.hxx')
-rw-r--r--vcl/inc/qt5/Qt5Menu.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/qt5/Qt5Menu.hxx b/vcl/inc/qt5/Qt5Menu.hxx
index adac6f6ccdad..b8a451657372 100644
--- a/vcl/inc/qt5/Qt5Menu.hxx
+++ b/vcl/inc/qt5/Qt5Menu.hxx
@@ -54,6 +54,7 @@ public:
virtual void SetSubMenu(SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos) override;
virtual void SetFrame(const SalFrame* pFrame) override;
const Qt5Frame* GetFrame() const;
+ virtual void ShowMenuBar(bool bVisible) override;
Qt5Menu* GetTopLevel();
virtual void SetItemBits(unsigned nPos, MenuItemBits nBits) override;
virtual void CheckItem(unsigned nPos, bool bCheck) override;