diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-12-24 13:33:47 +0100 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2009-12-24 13:33:47 +0100 |
commit | 67682752881f2611f70989127e38a03a0a582b02 (patch) | |
tree | d7781f2f7b8e64756288c5f66e8baad84f7d620e /src/mainwindow.cpp | |
parent | rekonq 0.3.26 (diff) | |
download | rekonq-67682752881f2611f70989127e38a03a0a582b02.tar.xz |
hide tabbar in fulscreen mode
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b4174191..de755c76 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -800,7 +800,7 @@ void MainWindow::viewFullScreen(bool makeFullScreen) // state flags static bool bookmarksToolBarFlag; static bool sidePanelFlag; - static bool bookmarksPanelFlag; + static bool bookmarksPanelFlag; if (makeFullScreen == true) { @@ -808,10 +808,12 @@ void MainWindow::viewFullScreen(bool makeFullScreen) bookmarksToolBarFlag = m_bmBar->isHidden(); m_bmBar->hide(); + m_view->setTabBarHidden(true); + sidePanelFlag = sidePanel()->isHidden(); sidePanel()->hide(); - bookmarksPanelFlag = bookmarksPanel()->isHidden(); + bookmarksPanelFlag = bookmarksPanel()->isHidden(); bookmarksPanel()->hide(); // hide main toolbar @@ -821,6 +823,7 @@ void MainWindow::viewFullScreen(bool makeFullScreen) { // show main toolbar m_mainBar->show(); + m_view->setTabBarHidden(false); // restore previous state if (!bookmarksToolBarFlag) |