summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-27 03:36:22 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-27 03:36:22 +0100
commitfbd78bee04e335314337c57c679dae2dd0820dae (patch)
tree10e9b3b5b99dd1558b7c0b053b6e82905d0efac5 /src
parentSome fixes from avaddon-clone. Thank you (diff)
downloadrekonq-fbd78bee04e335314337c57c679dae2dd0820dae.tar.xz
improved fullscreen
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4abfcd15..54516e78 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -630,6 +630,16 @@ void MainWindow::slotViewTextSmaller()
// TODO improve this
void MainWindow::slotViewFullScreen( bool makeFullScreen )
{
+ if ( makeFullScreen == true )
+ {
+ menuBar()->hide();
+ toolBar("mainToolBar")->hide();
+ }
+ else
+ {
+ menuBar()->show();
+ toolBar("mainToolBar")->show();
+ }
KToggleFullScreenAction::setFullScreen( this, makeFullScreen );
}