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:
parent
2f764f0a25
commit
09febcb743
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user