summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/updatemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp
index a181f34fa..57b1c6db5 100644
--- a/qt-ui/updatemanager.cpp
+++ b/qt-ui/updatemanager.cpp
@@ -23,8 +23,8 @@ void UpdateManager::checkForUpdates()
os = "unknown";
#endif
- QString version = VERSION_STRING;
- QString url = QString("http://subsurface-divelog.org/updatecheck.html?os=%1&ver=%2").arg(os, version);
+ QString version = CANONICAL_VERSION_STRING;
+ QString url = QString("http://subsurface-divelog.org/updatecheck.html?os=%1&version=%2").arg(os, version);
QNetworkRequest request;
request.setUrl(url);
request.setRawHeader("Accept", "text/xml");