Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from kendersec/master

Fix for fullscreen on Mac issue931
  • Loading branch information...
commit e310d632e9f6c135c376576d2d466af03fd219ee 2 parents b14441d + 158b00c
Benjamin C Meyer icefox authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/browsermainwindow.cpp
2  src/browsermainwindow.cpp
View
@@ -1379,6 +1379,7 @@ void BrowserMainWindow::zoomOut()
void BrowserMainWindow::viewFullScreen(bool makeFullScreen)
{
if (makeFullScreen) {
+ setUnifiedTitleAndToolBarOnMac(false);
setWindowState(windowState() | Qt::WindowFullScreen);
menuBar()->hide();
@@ -1386,6 +1387,7 @@ void BrowserMainWindow::viewFullScreen(bool makeFullScreen)
} else {
setWindowState(windowState() & ~Qt::WindowFullScreen);
+ setUnifiedTitleAndToolBarOnMac(true);
menuBar()->setVisible(m_menuBarVisible);
statusBar()->setVisible(m_statusBarVisible);
}
Please sign in to comment.
Something went wrong with that request. Please try again.