fix(cpn): sounds processing extra files and cancel update processes earlier (#5354)

Co-authored-by: elecpower <elecpower@users.noreply.github.com>
This commit is contained in:
Neil Horne
2024-08-01 22:59:22 +10:00
committed by GitHub
co-authored by elecpower
parent b2a603ed21
commit 4390e310d0
13 changed files with 443 additions and 210 deletions
+14
View File
@@ -106,6 +106,15 @@ bool AssetsRawItemModel::setDownloadName(const int id, const QString name)
return setValue(id, RIMR_DownloadName, QVariant(name));
}
bool AssetsRawItemModel::resetFlags()
{
for (int i = 0; i < rowCount(); i++) {
item(i)->setData(0, RIMR_Flags);
}
return true;
}
/*
AssetsFilteredItemModel
*/
@@ -320,3 +329,8 @@ bool RepoAssets::setDownloadName(const QString name)
{
return m_rawItemModel->setDownloadName(id(), name);
}
bool RepoAssets::resetFlags()
{
return m_rawItemModel->resetFlags();
}