mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 19:36:57 +03:00
Simplify implementation by removing some unused code
Only applies to cauldron loader which doesn't exist on Modrinth or CurseForge, and doesn't even make sense for shaders. Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
2477c4f021
commit
66c8afe4d3
8 changed files with 19 additions and 57 deletions
|
|
@ -472,11 +472,10 @@ void ResourceModel::infoRequestSucceeded(ModPlatform::IndexedPack::Ptr pack, con
|
|||
void ResourceModel::addPack(ModPlatform::IndexedPack::Ptr pack,
|
||||
ModPlatform::IndexedVersion& version,
|
||||
const std::shared_ptr<ResourceFolderModel> packs,
|
||||
bool is_indexed,
|
||||
QString custom_target_folder)
|
||||
bool is_indexed)
|
||||
{
|
||||
version.is_currently_selected = true;
|
||||
m_selected.append(makeShared<ResourceDownloadTask>(pack, version, packs, is_indexed, custom_target_folder));
|
||||
m_selected.append(makeShared<ResourceDownloadTask>(pack, version, packs, is_indexed));
|
||||
}
|
||||
|
||||
void ResourceModel::removePack(const QString& rem)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue