mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:23:23 +00:00
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>
This commit is contained in:
parent
6ae5c9271d
commit
86c25b7157
1 changed files with 1 additions and 1 deletions
|
@ -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 "));
|
||||
|
|
Loading…
Add table
Reference in a new issue