summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 );
}