diff options
author | flow <flowlnlnln@gmail.com> | 2022-08-09 01:53:50 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-08-20 10:41:59 -0300 |
commit | 3225f514f64533394e14bf7aee4e61c19a72ed2f (patch) | |
tree | 371deca1b4ebada6ead6e82cca02866444284111 /launcher/modplatform | |
parent | 2d63c860227f4a539526a85d8999f867ae67ce43 (diff) | |
download | PrismLauncher-3225f514f64533394e14bf7aee4e61c19a72ed2f.tar.gz PrismLauncher-3225f514f64533394e14bf7aee4e61c19a72ed2f.tar.bz2 PrismLauncher-3225f514f64533394e14bf7aee4e61c19a72ed2f.zip |
refactor: move general info from Mod to Resource
This allows us to create other resources that are not Mods, but can
still share a significant portion of code.
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/modplatform')
-rw-r--r-- | launcher/modplatform/EnsureMetadataTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/EnsureMetadataTask.cpp b/launcher/modplatform/EnsureMetadataTask.cpp index 60c54c4e..21c20b28 100644 --- a/launcher/modplatform/EnsureMetadataTask.cpp +++ b/launcher/modplatform/EnsureMetadataTask.cpp @@ -110,7 +110,7 @@ void EnsureMetadataTask::executeTask() } // Folders don't have metadata - if (mod->type() == Mod::MOD_FOLDER) { + if (mod->type() == ResourceType::FOLDER) { emitReady(mod); } } |