This commit is contained in:
Kravickas 2026-04-04 16:34:11 +02:00 committed by GitHub
parent a56e11fe93
commit ca65d6f713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -281,10 +281,7 @@ bool update_manager::handle_json(bool automatic, bool check_only, bool auto_acce
update_log.notice("JSON changelog entry does not contain a title string.");
}
if (QJsonValue pr = changelog_entry["pr"]; pr.isDouble())
{
entry.pr = pr.toInt();
}
entry.pr = changelog_entry["pr"].toInt();
m_update_info.changelog.push_back(std::move(entry));
}