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:
commit
9171f471ab
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user