summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-29 10:28:03 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-29 10:28:03 +0200
commite98b31b216716663d752b02a67c3002109063828 (patch)
tree292de6da3d4c06ba341f8c93f24e9fac1be61ffb /src/webview.cpp
parentFollow settings (choose tabs or windows) when opening new tabs (diff)
downloadrekonq-e98b31b216716663d752b02a67c3002109063828.tar.xz
Hide "loading..." and "done" strings after 0.5 sec..
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 3b81b0bb..41729908 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -520,11 +520,11 @@ void WebView::keyPressEvent(QKeyEvent *event)
KWebView::keyPressEvent(event);
}
+
void WebView::wheelEvent(QWheelEvent *event)
{
KWebView::wheelEvent(event);
-
// Sync with the zoom slider
if (event->modifiers() == Qt::ControlModifier)
{
@@ -539,13 +539,8 @@ void WebView::wheelEvent(QWheelEvent *event)
if ((zoomFactor() * 10 - newFactor) > 0.5)
newFactor++;
-
emit zoomChanged((qreal)newFactor / 10);
}
-
-
-
-
}