Changeset 56731 in webkit
- Timestamp:
- Mar 29, 2010 10:50:17 AM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/Api/qwebpage.cpp
r56718 r56731 3155 3155 "Mozilla/5.0 (%Platform%; %Security%; %Subplatform%; %Locale%) AppleWebKit/%WebKitVersion% (KHTML, like Gecko) %AppVersion Safari/%WebKitVersion%" 3156 3156 3157 On mobile platforms such as Symbian S60 and Maemo, "Mobile Safari" is used instead of "Safari". 3158 3157 3159 In this string the following values are replaced at run-time: 3158 3160 \list … … 3386 3388 } 3387 3389 3388 ua.append(QString(QLatin1String(" Safari/%1")) 3389 .arg(qWebKitVersion())); 3390 3390 #if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) 3391 ua.append(QString(QLatin1String(" Mobile Safari/%1")).arg(qWebKitVersion())); 3392 #else 3393 ua.append(QString(QLatin1String(" Safari/%1")).arg(qWebKitVersion())); 3394 #endif 3391 3395 return ua; 3392 3396 } -
trunk/WebKit/qt/ChangeLog
r56721 r56731 1 2010-03-29 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 3 Reviewed by Antti Koivisto. 4 5 Use 'Mobile Safari' instead of 'Safari' on mobile Qt platforms. 6 7 * Api/qwebpage.cpp: 8 (QWebPage::userAgentForUrl): 9 1 10 2010-03-29 Simon Hausmann <simon.hausmann@nokia.com> 2 11
Note: See TracChangeset
for help on using the changeset viewer.