mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
core: move updatecheck to its own domain
This make it easier to move backend services around. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2743e59415
commit
3693fe253b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ void UpdateManager::checkForUpdates(bool automatic)
|
||||||
isAutomaticCheck = automatic;
|
isAutomaticCheck = automatic;
|
||||||
QString version = subsurface_canonical_version();
|
QString version = subsurface_canonical_version();
|
||||||
QString uuidString = getUUID();
|
QString uuidString = getUUID();
|
||||||
QString url = QString("http://subsurface-divelog.org/updatecheck.html?os=%1&version=%2&uuid=%3").arg(os, version, uuidString);
|
QString url = QString("http://updatecheck.subsurface-divelog.org/updatecheck.html?os=%1&version=%2&uuid=%3").arg(os, version, uuidString);
|
||||||
QNetworkRequest request;
|
QNetworkRequest request;
|
||||||
request.setUrl(url);
|
request.setUrl(url);
|
||||||
request.setRawHeader("Accept", "text/xml");
|
request.setRawHeader("Accept", "text/xml");
|
||||||
|
|
Loading…
Reference in a new issue