diff --git a/src/lib/other/useragentmanager.cpp b/src/lib/other/useragentmanager.cpp index 5e7254acc..f52002f00 100644 --- a/src/lib/other/useragentmanager.cpp +++ b/src/lib/other/useragentmanager.cpp @@ -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; }