From 612650147cb85e52d317142d022db99a28c0d98a Mon Sep 17 00:00:00 2001 From: Katarina Behrens Date: Fri, 15 Mar 2019 23:29:55 +0100 Subject: 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 --- vcl/inc/qt5/Qt5Menu.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/inc/qt5/Qt5Menu.hxx') 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; -- cgit