Skip to content

Commit f3892dc

Browse files
committed
Fix #89 - consider higher than expected version a successful update
1 parent bbb839a commit f3892dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Application.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ void Application::checkUpdateResults()
308308

309309
auto currentVersion = QVersionNumber::fromString(applicationVersion());
310310
auto savedVersion = QVersionNumber::fromString(_settings->getQSettings()->value("update/version").toString());
311-
if (currentVersion.normalized() == savedVersion.normalized())
311+
if (currentVersion.normalized() >= savedVersion.normalized())
312312
{
313313
// Updated but couldn't remove a tmp folder, let's try again
314314
if (updateResult == 30)

0 commit comments

Comments
 (0)