From 37e5aba76c7458125e3626611c2ed186aadbaf09 Mon Sep 17 00:00:00 2001 From: "S. Razi Alavizadeh" Date: Fri, 21 Sep 2012 08:43:27 +0330 Subject: [PATCH] Fixed, don't show supermenu in fullscreen mode. --- src/lib/app/qupzilla.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/app/qupzilla.cpp b/src/lib/app/qupzilla.cpp index 52ba84b01..7fff1cae1 100644 --- a/src/lib/app/qupzilla.cpp +++ b/src/lib/app/qupzilla.cpp @@ -1510,6 +1510,10 @@ void QupZilla::fullScreen(bool make) bookmarksToolbar()->hide(); m_navigationBar->hide(); m_tabWidget->getTabBar()->hide(); +#ifndef Q_OS_MAC + m_navigationBar->buttonSuperMenu()->hide(); +#endif + #ifdef Q_OS_WIN if (m_usingTransparentBackground) { QtWin::extendFrameIntoClientArea(this, 0, 0, 0 , 0); @@ -1525,6 +1529,10 @@ void QupZilla::fullScreen(bool make) m_bookmarksToolbar->setVisible(m_bookmarksToolBarVisible); m_navigationBar->setVisible(m_navigationVisible); m_tabWidget->showTabBar(); +#ifndef Q_OS_MAC + m_navigationBar->buttonSuperMenu()->setVisible(!m_menuBarVisible); +#endif + #ifdef Q_OS_WIN if (m_usingTransparentBackground) { applyBlurToMainWindow(true);