1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Change UserAgent: Don't append QupZilla string to new user agent

- some pages may misbehave
This commit is contained in:
nowrep 2012-07-15 23:23:16 +02:00
parent fe2b3133e5
commit dd0df9042f

View File

@ -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)