Cleaned up UserAgent info

This commit is contained in:
Jamie Newbon 2019-11-05 15:17:46 +00:00
parent e61f33a3e9
commit 89f328e059
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}