Commit 4c2f4a68 authored by Stefano Crocco's avatar Stefano Crocco
Browse files

Use the default QtWebEngine user agent string

For some reason, inserting "Konqueror" in the user agent string breaks
some sites.
parent c24bb9e0
Pipeline #216676 passed with stage
in 5 minutes and 56 seconds
......@@ -93,11 +93,6 @@ WebEnginePage::WebEnginePage(WebEnginePart *part, QWidget *parent)
};
connect(this, &QWebEnginePage::loadFinished, this, unsetInspectedPageIfNeeded);
if(!this->profile()->httpUserAgent().contains(QLatin1String("Konqueror")))
{
this->profile()->setHttpUserAgent(this->profile()->httpUserAgent() + " Konqueror (WebEnginePart)");
}
m_part->downloadManager()->addPage(this);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment