diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-25 12:19:16 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-25 12:19:16 -0800 |
commit | 8b92f43715901fbbc59f15c2eb84c627d71bc6bf (patch) | |
tree | 1d3e7e2450de62df77612dd0ee832d751e5a5c63 /qt-ui | |
parent | 44e7670f855b6d13afe625f54830982189f99f5f (diff) | |
download | subsurface-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')
-rw-r--r-- | qt-ui/updatemanager.cpp | 2 |
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 ")); |