diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-08 01:36:09 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-08 01:36:09 +0200 |
commit | cbbc7ca17e0e5edccf44bb448839982fc42ca5de (patch) | |
tree | 46225f1f38932f70d08948793700fe60197451cc /src/webview.cpp | |
parent | fixing right click rekonq crash (at least, hopefully..) (diff) | |
download | rekonq-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.cpp | 9 |
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) |