fix: Mod type enum -> Resource type enum

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-08-28 14:47:52 -03:00
parent f371ec210c
commit 2186b134a4
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -47,7 +47,7 @@ EnsureMetadataTask::EnsureMetadataTask(QList<Mod*>& mods, QDir dir, ModPlatform:
Hashing::Hasher::Ptr EnsureMetadataTask::createNewHash(Mod* mod) 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 nullptr;
return Hashing::createHasher(mod->fileinfo().absoluteFilePath(), m_provider); return Hashing::createHasher(mod->fileinfo().absoluteFilePath(), m_provider);