mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
Follow http user-agent format
Add version variable without the starting "v"
This commit is contained in:
parent
cb1646be32
commit
2091dfaa69
5 changed files with 14 additions and 10 deletions
|
@ -66,7 +66,7 @@ void ProgramUpdater::checkForUpdates()
|
|||
RSS_URL, false, 0, false,
|
||||
// Don't change this User-Agent. In case our updater goes haywire,
|
||||
// the filehost can identify it and contact us.
|
||||
"qBittorrent/" QBT_VERSION " ProgramUpdater (www.qbittorrent.org)");
|
||||
"qBittorrent/" QBT_VERSION_2 " ProgramUpdater (www.qbittorrent.org)");
|
||||
connect(handler, SIGNAL(downloadFinished(QString,QByteArray)), SLOT(rssDownloadFinished(QString,QByteArray)));
|
||||
connect(handler, SIGNAL(downloadFailed(QString,QString)), SLOT(rssDownloadFailed(QString,QString)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue