mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 11:26:59 +03:00
fix mod select
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
f3bc2f0e9f
commit
31cdca77df
20 changed files with 88 additions and 73 deletions
|
|
@ -23,14 +23,14 @@ ResourceAPI::SearchArgs DataPackResourceModel::createSearchArguments()
|
|||
|
||||
ResourceAPI::VersionSearchArgs DataPackResourceModel::createVersionsArguments(const QModelIndex& entry)
|
||||
{
|
||||
auto& pack = m_packs[entry.row()];
|
||||
return { *pack, {}, ModPlatform::ModLoaderType::DataPack };
|
||||
auto pack = m_packs[entry.row()];
|
||||
return { pack, {}, ModPlatform::ModLoaderType::DataPack };
|
||||
}
|
||||
|
||||
ResourceAPI::ProjectInfoArgs DataPackResourceModel::createInfoArguments(const QModelIndex& entry)
|
||||
{
|
||||
auto& pack = m_packs[entry.row()];
|
||||
return { *pack };
|
||||
auto pack = m_packs[entry.row()];
|
||||
return { pack };
|
||||
}
|
||||
|
||||
void DataPackResourceModel::searchWithTerm(const QString& term, unsigned int sort)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue