mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 04:36:34 +01:00
Change UserAgent: Don't append QupZilla string to new user agent
- some pages may misbehave
This commit is contained in:
parent
fe2b3133e5
commit
dd0df9042f
@ -181,13 +181,8 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
void WebPage::urlChanged(const QUrl &url)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user