summaryrefslogtreecommitdiff
path: root/src/webview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-08 01:36:09 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-08 01:36:09 +0200
commitcbbc7ca17e0e5edccf44bb448839982fc42ca5de (patch)
tree46225f1f38932f70d08948793700fe60197451cc /src/webview.cpp
parentfixing right click rekonq crash (at least, hopefully..) (diff)
downloadrekonq-cbbc7ca17e0e5edccf44bb448839982fc42ca5de.tar.xz
TONS of events ignored to let homepage no more crash!
Hopefully... I hope I also not have removed some rekonq features this way. It seems not, anyway (obviously) it needs tests
Diffstat (limited to 'src/webview.cpp')
-rw-r--r--src/webview.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp
index 1c46041c..68311315 100644
--- a/src/webview.cpp
+++ b/src/webview.cpp
@@ -341,6 +341,15 @@ void WebView::mousePressEvent(QMouseEvent *event)
}
+void WebView::mouseMoveEvent(QMouseEvent *event)
+{
+ if( url().protocol() != "rekonq" )
+ {
+ QWebView::mouseMoveEvent(event);
+ }
+}
+
+
void WebView::wheelEvent(QWheelEvent *event)
{
if (QApplication::keyboardModifiers() & Qt::ControlModifier)