Fix update download error show
This commit is contained in:
parent
3c39faaaad
commit
23cdc3e57c
@ -187,8 +187,7 @@ void Loader::startDownloadUpdates(const QUrl &previous)
|
||||
else {
|
||||
const auto index = updateUrls_.indexOf(previous);
|
||||
SOFT_ASSERT(index != -1, return );
|
||||
if (index == updateUrls_.size() - 1)
|
||||
return;
|
||||
if (index + 1 < updateUrls_.size())
|
||||
url = updateUrls_[index + 1];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user