mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 18:40:54 +00:00
Changed: Real version of Ryzom Installer as user-agent
This commit is contained in:
parent
f2a3a4e99f
commit
9dc33effe6
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ bool CDownloader::getHtmlPageContent(const QString &url)
|
|||
if (url.isEmpty()) return false;
|
||||
|
||||
QNetworkRequest request(url);
|
||||
request.setHeader(QNetworkRequest::UserAgentHeader, "Ryzom Installer/1.0");
|
||||
request.setHeader(QNetworkRequest::UserAgentHeader, QString("Ryzom Installer/%1").arg(QApplication::applicationVersion()));
|
||||
|
||||
QNetworkReply *reply = m_manager->get(request);
|
||||
|
||||
|
|
Loading…
Reference in a new issue