Qt5: Disabling touch mocking workaround for some pages.

It is working all right now with latest QtWebKit.

See issues #634 #33
remotes/origin/falkon
nowrep 13 years ago
parent cadfd63b1e
commit 69eed9efe0
  1. 4
      src/lib/webview/webview.cpp

@ -1156,6 +1156,8 @@ void WebView::setZoom(int zoom)
///
bool WebView::eventFilter(QObject* obj, QEvent* event)
{
// This hack is no longer needed with Qt 5
#if QT_VERSION < 0x050000
if (obj != this || m_disableTouchMocking) {
return false;
}
@ -1215,7 +1217,7 @@ bool WebView::eventFilter(QObject* obj, QEvent* event)
return false;
}
#endif
return QWebView::eventFilter(obj, event);
}

Loading…
Cancel
Save