From dddf2c7d66ed7169ab03e0469b6ffec400e00050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Br=C3=BCning?= Date: Tue, 18 Feb 2014 19:38:11 +0100 Subject: Enable changing the cursor for the QQuickWebView. Implements setting the platform cursor in QtPageClient. Task-number: QTBUG-36368 Change-Id: I0ec2dc5eae550a7fa1197587f85c3f84b3225240 Reviewed-by: Allan Sandfeld Jensen --- Source/WebKit2/UIProcess/qt/QtPageClient.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/WebKit2/UIProcess/qt/QtPageClient.cpp') diff --git a/Source/WebKit2/UIProcess/qt/QtPageClient.cpp b/Source/WebKit2/UIProcess/qt/QtPageClient.cpp index 2f242c609..e053aa426 100644 --- a/Source/WebKit2/UIProcess/qt/QtPageClient.cpp +++ b/Source/WebKit2/UIProcess/qt/QtPageClient.cpp @@ -156,8 +156,7 @@ void QtPageClient::handleProxyAuthenticationRequiredRequest(const String& hostna void QtPageClient::setCursor(const WebCore::Cursor& cursor) { - // FIXME: This is a temporary fix until we get cursor support in QML items. - QGuiApplication::setOverrideCursor(*cursor.platformCursor()); + m_webView->setCursor(*cursor.platformCursor()); } void QtPageClient::setCursorHiddenUntilMouseMoves(bool hiddenUntilMouseMoves) -- cgit v1.2.1