From 89f328e059f00adbf50087936f6250852a787daf Mon Sep 17 00:00:00 2001 From: Jamie Newbon Date: Tue, 5 Nov 2019 15:17:46 +0000 Subject: [PATCH] Cleaned up UserAgent info --- src/gui/src/VersionChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/src/VersionChecker.cpp b/src/gui/src/VersionChecker.cpp index 8413972f..27956b74 100644 --- a/src/gui/src/VersionChecker.cpp +++ b/src/gui/src/VersionChecker.cpp @@ -46,7 +46,7 @@ VersionChecker::~VersionChecker() void VersionChecker::checkLatest() { auto request = QNetworkRequest(QUrl(VERSION_URL)); - request.setHeader(QNetworkRequest::UserAgentHeader, QString("Synergy GUI ") + getVersion().toStdString().c_str()); + request.setHeader(QNetworkRequest::UserAgentHeader, QString("Synergy (") + getVersion() + ") " + QSysInfo::prettyProductName()); request.setRawHeader("X-Synergy-Version", getVersion().toStdString().c_str() ); m_manager->get(request); }