Merge pull request #1094 from flowln/fix_the_thing

Fix build due to merge without rebase messing things up :p
This commit is contained in:
flow 2022-08-28 16:27:41 -03:00 committed by GitHub
commit 9171f471ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);