mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Fixed, don't show supermenu in fullscreen mode.
This commit is contained in:
parent
f3f1c46521
commit
37e5aba76c
|
@ -1510,6 +1510,10 @@ void QupZilla::fullScreen(bool make)
|
||||||
bookmarksToolbar()->hide();
|
bookmarksToolbar()->hide();
|
||||||
m_navigationBar->hide();
|
m_navigationBar->hide();
|
||||||
m_tabWidget->getTabBar()->hide();
|
m_tabWidget->getTabBar()->hide();
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
|
m_navigationBar->buttonSuperMenu()->hide();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
if (m_usingTransparentBackground) {
|
if (m_usingTransparentBackground) {
|
||||||
QtWin::extendFrameIntoClientArea(this, 0, 0, 0 , 0);
|
QtWin::extendFrameIntoClientArea(this, 0, 0, 0 , 0);
|
||||||
|
@ -1525,6 +1529,10 @@ void QupZilla::fullScreen(bool make)
|
||||||
m_bookmarksToolbar->setVisible(m_bookmarksToolBarVisible);
|
m_bookmarksToolbar->setVisible(m_bookmarksToolBarVisible);
|
||||||
m_navigationBar->setVisible(m_navigationVisible);
|
m_navigationBar->setVisible(m_navigationVisible);
|
||||||
m_tabWidget->showTabBar();
|
m_tabWidget->showTabBar();
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
|
m_navigationBar->buttonSuperMenu()->setVisible(!m_menuBarVisible);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
if (m_usingTransparentBackground) {
|
if (m_usingTransparentBackground) {
|
||||||
applyBlurToMainWindow(true);
|
applyBlurToMainWindow(true);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user