mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
Merge branch 'falkon-master-useragent'
This commit is contained in:
commit
e9d7a62803
@ -28,7 +28,7 @@ UserAgentManager::UserAgentManager(QObject* parent)
|
||||
, m_usePerDomainUserAgent(false)
|
||||
{
|
||||
m_defaultUserAgent = QWebEngineProfile::defaultProfile()->httpUserAgent();
|
||||
m_defaultUserAgent.replace(QRegularExpression(QSL("QtWebEngine/[^\\s]+")), QSL("Falkon/%1").arg(Qz::VERSION));
|
||||
m_defaultUserAgent.replace(QRegularExpression(QSL("(QtWebEngine/[^\\s]+)")), QSL("Falkon/%1 \\1").arg(Qz::VERSION));
|
||||
}
|
||||
|
||||
void UserAgentManager::loadSettings()
|
||||
|
Loading…
Reference in New Issue
Block a user