diff options
author | Simon Hausmann <hausmann@gmail.com> | 2012-08-10 08:06:30 +0200 |
---|---|---|
committer | Simon Hausmann <hausmann@gmail.com> | 2012-08-20 21:45:07 +0200 |
commit | 878346f3bfeb3a81436347609b1e3cbd80323503 (patch) | |
tree | 68d8ec0d67d6b2e6fce1462006135ffca993b5be | |
parent | 93e16e8924852b1ad1ce9df432bbef396cf0ee81 (diff) |
User iPhone user agent to get mobile content
Reviewed-by: Jesus
-rw-r--r-- | src/mobile/qml/SnowshoeWebView.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mobile/qml/SnowshoeWebView.qml b/src/mobile/qml/SnowshoeWebView.qml index 89aaf10..eb753bb 100644 --- a/src/mobile/qml/SnowshoeWebView.qml +++ b/src/mobile/qml/SnowshoeWebView.qml @@ -53,6 +53,7 @@ Item { 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: { if (webView.url == "about:blank") |