diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 7e2ca59c..705a3aa7 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -369,9 +369,16 @@ void WebView::mousePressEvent(QMouseEvent *event) void WebView::mouseMoveEvent(QMouseEvent *event) { m_mousePos = event->pos(); + + // fix crashes on loading homepage links when no internet + // connection (so, failed loading) + if(url().protocol() == QLatin1String("rekonq")) + return; + QWebView::mouseMoveEvent(event); } + QPoint WebView::mousePos() { return m_mousePos; |