From 9dc33effe66cea2a7c8581ca7df1277578e25e1c Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 20 Oct 2016 15:30:12 +0200 Subject: [PATCH] Changed: Real version of Ryzom Installer as user-agent --- code/ryzom/tools/client/ryzom_installer/src/downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp b/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp index 298cc5185..d56fa84ac 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp @@ -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);