From efaadd43016dbc4a229734d19b3801df161b2857 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 --HG-- branch : develop --- 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);