summaryrefslogtreecommitdiffstats
path: root/qt-ui/updatemanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-30 17:23:59 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-30 17:23:59 -0800
commit86c25b715777df84e351237413df685723558e85 (patch)
tree5913427016d87c5b19790bf5d9cc7145676a811c /qt-ui/updatemanager.cpp
parent6ae5c9271df54bd9ced0b6d38db3d10a61108a73 (diff)
downloadsubsurface-86c25b715777df84e351237413df685723558e85.tar.gz
Fix update message popping up when there is no new version
I was just missing one key phrase to check for. Oops. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/updatemanager.cpp')
-rw-r--r--qt-ui/updatemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp
index ba10fd46b..921a78464 100644
--- a/qt-ui/updatemanager.cpp
+++ b/qt-ui/updatemanager.cpp
@@ -110,7 +110,7 @@ void UpdateManager::requestReceived()
} else {
// the webservice backend doesn't localize - but it's easy enough to just replace the
// strings that it is likely to send back
- if (!responseBody.contains("newer") && !responseBody.contains("beta", Qt::CaseInsensitive))
+ if (!responseBody.contains("latest development") && !responseBody.contains("newer") && !responseBody.contains("beta", Qt::CaseInsensitive))
haveNewVersion = true;
if (responseBody.contains("Newest release version is "))
responseBody.replace("Newest release version is ", tr("Newest release version is "));