1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Qt5: No longer use fake user agent on google sites

QtWebKit version Qt5 is current enough to handle well
all google apps.
This commit is contained in:
nowrep 2012-12-22 12:20:23 +01:00
parent 2f764f0a25
commit 09febcb743

View File

@ -61,9 +61,11 @@ QString UserAgentManager::userAgentForUrl(const QUrl &url) const
}
}
#if QT_VERSION < 0x050000
if (host.contains(QLatin1String("google"))) {
return m_fakeUserAgent;
}
#endif
return m_globalUserAgent;
}