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:
Dirk Hohndel 2015-01-25 12:19:16 -08:00
parent 44e7670f85
commit 8b92f43715

View file

@ -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 "));