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)