aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/updatemanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-25 12:19:16 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-25 12:19:16 -0800
commit8b92f43715901fbbc59f15c2eb84c627d71bc6bf (patch)
tree1d3e7e2450de62df77612dd0ee832d751e5a5c63 /qt-ui/updatemanager.cpp
parent44e7670f855b6d13afe625f54830982189f99f5f (diff)
downloadsubsurface-8b92f43715901fbbc59f15c2eb84c627d71bc6bf.tar.gz
Also don't show the beta response when auto-checking for updates
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 e972c4496..35e47441a 100644
--- a/qt-ui/updatemanager.cpp
+++ b/qt-ui/updatemanager.cpp
@@ -115,7 +115,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"))
+ if (!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 "));