summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
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);
}
-
-
-
-
}