Handle checkbox toggle
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
8577f58fe3
commit
900579eea6
24 changed files with 185 additions and 94 deletions
|
@ -192,7 +192,7 @@ void ResourceModel::search()
|
|||
runSearchJob(job);
|
||||
}
|
||||
|
||||
void ResourceModel::loadEntry(QModelIndex& entry)
|
||||
void ResourceModel::loadEntry(const QModelIndex& entry)
|
||||
{
|
||||
auto const& pack = m_packs[entry.row()];
|
||||
|
||||
|
@ -503,7 +503,7 @@ void ResourceModel::versionRequestSucceeded(QJsonDocument& doc, ModPlatform::Ind
|
|||
return;
|
||||
}
|
||||
|
||||
emit versionListUpdated();
|
||||
emit versionListUpdated(index);
|
||||
}
|
||||
|
||||
void ResourceModel::infoRequestSucceeded(QJsonDocument& doc, ModPlatform::IndexedPack& pack, const QModelIndex& index)
|
||||
|
@ -530,7 +530,7 @@ void ResourceModel::infoRequestSucceeded(QJsonDocument& doc, ModPlatform::Indexe
|
|||
return;
|
||||
}
|
||||
|
||||
emit projectInfoUpdated();
|
||||
emit projectInfoUpdated(index);
|
||||
}
|
||||
|
||||
void ResourceModel::addPack(ModPlatform::IndexedPack::Ptr pack,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue