fix: Mod type enum -> Resource type enum
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
f371ec210c
commit
2186b134a4
@ -47,7 +47,7 @@ EnsureMetadataTask::EnsureMetadataTask(QList<Mod*>& mods, QDir dir, ModPlatform:
|
||||
|
||||
Hashing::Hasher::Ptr EnsureMetadataTask::createNewHash(Mod* mod)
|
||||
{
|
||||
if (!mod || !mod->valid() || mod->type() == Mod::MOD_FOLDER)
|
||||
if (!mod || !mod->valid() || mod->type() == ResourceType::FOLDER)
|
||||
return nullptr;
|
||||
|
||||
return Hashing::createHasher(mod->fileinfo().absoluteFilePath(), m_provider);
|
||||
|
Loading…
Reference in New Issue
Block a user