mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Also don't show the beta response when auto-checking for updates
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
44e7670f85
commit
8b92f43715
1 changed files with 1 additions and 1 deletions
|
@ -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 "));
|
||||
|
|
Loading…
Add table
Reference in a new issue