diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-12-28 12:22:31 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-12-28 12:22:31 +0100 |
commit | f501b1436b61219129e8a5608f5f814ea9abaf31 (patch) | |
tree | c7467d1fd0662c9a94262cd8427cb82620401123 /src/webview.cpp | |
parent | Merge Request #79 with the changes discussed. (diff) | |
parent | Merge commit 'refs/merge-requests/81' of git://gitorious.org/rekonq/mainline ... (diff) | |
download | rekonq-f501b1436b61219129e8a5608f5f814ea9abaf31.tar.xz |
Merge branch 'm81'
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 11 |
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); } |