Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
Fix start issue
Browse files Browse the repository at this point in the history
  • Loading branch information
trueromanus committed Mar 3, 2020
1 parent a329031 commit 52ee4f3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions srcnport/AniLibria/Classes/Services/localstorageservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,12 @@ void LocalStorageService::updateAllReleases(const QString &releases)
m_CachedReleases->removeOne(currentReleaseCacheModel);

} else {
int newReleaseId = newReleaseModel.id();
if (!newReleases->contains(newReleaseId)) newReleases->append(newReleaseId);
if (!isEmptyReleases) {
int newReleaseId = newReleaseModel.id();
if (!newReleases->contains(newReleaseId)) newReleases->append(newReleaseId);
}
}
if (!isEmptyReleases) m_CachedReleases->append(newReleaseModel);
m_CachedReleases->append(newReleaseModel);
}

saveCachedReleasesToFile();
Expand Down

0 comments on commit 52ee4f3

Please sign in to comment.