summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-14 12:17:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-14 12:17:46 +0200
commitfc07debcf06be1648afb60653bead970c93258ac (patch)
tree8c27ebb6acac15e6860352d0e838114c21c389dd /src/webview.cpp
parentFixed (hopefully) searchbar. Near its last release.. (diff)
downloadrekonq-fc07debcf06be1648afb60653bead970c93258ac.tar.xz
Fixed FullScreen Action & provided it in contextual menu, in fullscreen mode
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index dfb31279..01fd0d00 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -422,6 +422,11 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
menu.addAction(addBookmarkAction);
}
+ if(mainwindow->isFullScreen())
+ {
+ menu.addAction(mainwindow->actionByName("fullscreen"));
+ }
+
menu.exec(mapToGlobal(event->pos()));
}