From fc07debcf06be1648afb60653bead970c93258ac Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Thu, 14 May 2009 12:17:46 +0200 Subject: Fixed FullScreen Action & provided it in contextual menu, in fullscreen mode --- src/webview.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/webview.cpp') 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())); } -- cgit v1.2.1