diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-03-27 03:36:22 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-03-27 03:36:22 +0100 |
commit | fbd78bee04e335314337c57c679dae2dd0820dae (patch) | |
tree | 10e9b3b5b99dd1558b7c0b053b6e82905d0efac5 /src | |
parent | Some fixes from avaddon-clone. Thank you (diff) | |
download | rekonq-fbd78bee04e335314337c57c679dae2dd0820dae.tar.xz |
improved fullscreen
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 10 |
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 ); } |