Skip to content

Commit

Permalink
Fix User-Agent header
Browse files Browse the repository at this point in the history
  • Loading branch information
pstavirs committed Oct 29, 2016
1 parent 18a7bfd commit e2af41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit e2af41a

Please sign in to comment.