Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored June 12, 2012

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  src/browsermainwindow.cpp
2  src/browsermainwindow.cpp
@@ -1379,6 +1379,7 @@ void BrowserMainWindow::zoomOut()
1379 1379
 void BrowserMainWindow::viewFullScreen(bool makeFullScreen)
1380 1380
 {
1381 1381
     if (makeFullScreen) {
  1382
+        setUnifiedTitleAndToolBarOnMac(false);
1382 1383
         setWindowState(windowState() | Qt::WindowFullScreen);
1383 1384
 
1384 1385
         menuBar()->hide();
@@ -1386,6 +1387,7 @@ void BrowserMainWindow::viewFullScreen(bool makeFullScreen)
1386 1387
     } else {
1387 1388
         setWindowState(windowState() & ~Qt::WindowFullScreen);
1388 1389
 
  1390
+        setUnifiedTitleAndToolBarOnMac(true);
1389 1391
         menuBar()->setVisible(m_menuBarVisible);
1390 1392
         statusBar()->setVisible(m_statusBarVisible);
1391 1393
     }

0 notes on commit e310d63

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