Removed extra code

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2023-04-27 01:33:46 +03:00
parent f738d7566e
commit 248920a221
9 changed files with 18 additions and 53 deletions

View File

@@ -148,8 +148,8 @@ void ModPage::updateVersionList()
void ModPage::addResourceToDialog(ModPlatform::IndexedPack& pack, ModPlatform::IndexedVersion& version)
{
bool is_indexed = !APPLICATION->settings()->get("ModMetadataDisabled").toBool();
m_model->addPack(pack);
m_parent_dialog->addResource(pack, version, is_indexed);
m_model->addPack(pack);
}
} // namespace ResourceDownload