Fix User-Agent header

This commit is contained in:
Srivats P 2016-10-29 12:26:42 +05:30
parent c2f36c5cb3
commit 15b88a480b

View File

@ -55,7 +55,7 @@ void Updater::checkForNewVersion()
file_ = new QTemporaryFile();
reqHdr.setValue("Host", host);
reqHdr.setValue("UserAgent", userAgent());
reqHdr.setValue("User-Agent", userAgent());
connect(http_, SIGNAL(responseHeaderReceived(QHttpResponseHeader)),
this, SLOT(responseReceived(QHttpResponseHeader)));