mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 20:36:58 +03:00
feat: display mod dependencies
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
66f0f95fd7
commit
947656df0f
6 changed files with 256 additions and 136 deletions
|
|
@ -122,7 +122,7 @@ void ModFolderPage::updateFrame(const QModelIndex& current, [[maybe_unused]] con
|
|||
auto sourceCurrent = m_filterModel->mapToSource(current);
|
||||
int row = sourceCurrent.row();
|
||||
const Mod& mod = m_model->at(row);
|
||||
ui->frame->updateWithMod(mod);
|
||||
ui->frame->updateWithMod(mod, m_model->requiresList(mod.mod_id()), m_model->requiredByList(mod.mod_id()));
|
||||
}
|
||||
|
||||
void ModFolderPage::removeItems(const QItemSelection& selection)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue