[PATCH] Ensure snowshoe runs fine in mobile mode w/ current webkit trunk

13 views
Skip to first unread message

Adenilson

unread,
Jan 24, 2013, 3:45:04 PM1/24/13
to snowsh...@googlegroups.com
From 385eaa761fc8922b02b4062680952aa5843ed055 Mon Sep 17 00:00:00 2001
From: Adenilson Cavalcanti <caval...@gmail.com>
Date: Thu, 24 Jan 2013 16:37:28 -0400
Subject: [PATCH] Last December the property for setting pixel ratio was removed from webkit trunk thanks to qtbase receiving
 support for devicePixelRatio. Further details on webkit issue #104574.

This patch will make snowshoe run fine with current webkit trunk.

Signed-off-by: Adenilson Cavalcanti <caval...@gmail.com>
---
 src/mobile/qml/SnowshoeWebView.qml |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mobile/qml/SnowshoeWebView.qml b/src/mobile/qml/SnowshoeWebView.qml
index eb753bb..d029b6a 100644
--- a/src/mobile/qml/SnowshoeWebView.qml
+++ b/src/mobile/qml/SnowshoeWebView.qml
@@ -52,7 +52,6 @@ Item {
         enabled: webViewItem.active && webViewItem.interactive
 
         experimental.preferredMinimumContentsWidth: 980
-        experimental.devicePixelRatio: 1.5
         experimental.userAgent: "Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3"
 
         onLoadingChanged: {
-- 
1.7.10.4

Rafael Brandao

unread,
Jan 25, 2013, 11:40:30 AM1/25/13
to snowsh...@googlegroups.com
LGTM. r=me
--
Rafael Brandao @ INdT
Reply all
Reply to author
Forward
0 new messages