Skip to content
Browse files

Merge pull request #5 from kendersec/master

Fix for fullscreen on Mac issue931
  • Loading branch information...
2 parents b14441d + 158b00c commit e310d632e9f6c135c376576d2d466af03fd219ee @icefox icefox committed Jun 12, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/browsermainwindow.cpp
View
2 src/browsermainwindow.cpp
@@ -1379,13 +1379,15 @@ void BrowserMainWindow::zoomOut()
void BrowserMainWindow::viewFullScreen(bool makeFullScreen)
{
if (makeFullScreen) {
+ setUnifiedTitleAndToolBarOnMac(false);
setWindowState(windowState() | Qt::WindowFullScreen);
menuBar()->hide();
statusBar()->hide();
} else {
setWindowState(windowState() & ~Qt::WindowFullScreen);
+ setUnifiedTitleAndToolBarOnMac(true);
menuBar()->setVisible(m_menuBarVisible);
statusBar()->setVisible(m_statusBarVisible);
}

0 comments on commit e310d63

Please sign in to comment.
Something went wrong with that request. Please try again.