From dd0df9042f28c925bb1b05ccc54e179898ab012b Mon Sep 17 00:00:00 2001 From: nowrep Date: Sun, 15 Jul 2012 23:23:16 +0200 Subject: [PATCH] Change UserAgent: Don't append QupZilla string to new user agent - some pages may misbehave --- src/lib/webview/webpage.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/webview/webpage.cpp b/src/lib/webview/webpage.cpp index d4ec5f4c0..c0080bd28 100644 --- a/src/lib/webview/webpage.cpp +++ b/src/lib/webview/webpage.cpp @@ -181,12 +181,7 @@ bool WebPage::isLoading() const void WebPage::setUserAgent(const QString &agent) { - if (!agent.isEmpty()) { - s_userAgent = QString("%1 (QupZilla %2)").arg(agent, QupZilla::VERSION); - } - else { - s_userAgent = agent; - } + s_userAgent = agent; } void WebPage::urlChanged(const QUrl &url)