summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-12-26 11:46:48 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-26 11:46:48 +0100
commit4c622b5499ce04318fbfbdf8c2f17ed99b10c2f0 (patch)
tree27f2c0c59d5c467b6e37f54e26c6c9ca96aacbdf /src/webview.cpp
parentauto load plug in (diff)
parentin fullscreen mode: show toolbar tabbar when mouse is on top of the screen (diff)
downloadrekonq-4c622b5499ce04318fbfbdf8c2f17ed99b10c2f0.tar.xz
Merge commit 'refs/merge-requests/81' of git://gitorious.org/rekonq/mainline into m81
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 462adc08..a35b7143 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -313,6 +313,17 @@ void WebView::mousePressEvent(QMouseEvent *event)
void WebView::mouseMoveEvent(QMouseEvent *event)
{
m_mousePos = event->pos();
+ if (Application::instance()->mainWindow()->isFullScreen())
+ {
+ if (event->pos().y()>=0 && event->pos().y()<=4)
+ {
+ Application::instance()->mainWindow()->setWidgetsVisible(true);
+ }
+ else
+ {
+ Application::instance()->mainWindow()->setWidgetsVisible(false);
+ }
+ }
KWebView::mouseMoveEvent(event);
}