summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2009-12-24 13:33:47 +0100
committermegabigbug <megabigbug@arrakis.(none)>2009-12-24 13:33:47 +0100
commit67682752881f2611f70989127e38a03a0a582b02 (patch)
treed7781f2f7b8e64756288c5f66e8baad84f7d620e /src/mainwindow.cpp
parentrekonq 0.3.26 (diff)
downloadrekonq-67682752881f2611f70989127e38a03a0a582b02.tar.xz
hide tabbar in fulscreen mode
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
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)