[Qt][WK2] QQuickWebView is initializing touch mode twice while being constructed

https://bugs.webkit.org/show_bug.cgi?id=76859

Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2012-01-23
Reviewed by Kenneth Rohde Christiansen.

Removing d->initializeTouch() from QQuickWebView::QQuickWebView()
since in QQuickWebViewPrivate::initialize() there is a call for
setUseTraditionalDesktopBehaviour(false), which will call initializeTouch.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebView::QQuickWebView):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 61fac4c6
2012-01-23 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
[Qt][WK2] QQuickWebView is initializing touch mode twice while being constructed
https://bugs.webkit.org/show_bug.cgi?id=76859
Reviewed by Kenneth Rohde Christiansen.
Removing d->initializeTouch() from QQuickWebView::QQuickWebView()
since in QQuickWebViewPrivate::initialize() there is a call for
setUseTraditionalDesktopBehaviour(false), which will call initializeTouch.
* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebView::QQuickWebView):
2012-01-23 Martin Robinson <mrobinson@igalia.com> 2012-01-23 Martin Robinson <mrobinson@igalia.com>
[GTK][WK2] Make the LoadTracking and WebView test fixtures more flexible [GTK][WK2] Make the LoadTracking and WebView test fixtures more flexible
...@@ -871,7 +871,6 @@ QQuickWebView::QQuickWebView(QQuickItem* parent) ...@@ -871,7 +871,6 @@ QQuickWebView::QQuickWebView(QQuickItem* parent)
{ {
Q_D(QQuickWebView); Q_D(QQuickWebView);
d->initialize(); d->initialize();
d->initializeTouch(this);
} }
QQuickWebView::QQuickWebView(WKContextRef contextRef, WKPageGroupRef pageGroupRef, QQuickItem* parent) QQuickWebView::QQuickWebView(WKContextRef contextRef, WKPageGroupRef pageGroupRef, QQuickItem* parent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment