aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-08-28 16:27:41 -0300
committerGitHub <noreply@github.com>2022-08-28 16:27:41 -0300
commit9171f471abc4d61079a9fe2bda10801bded100e9 (patch)
tree1251da90799d4c4581673743307a69f9dd676917 /launcher
parentf371ec210c091b9ebc91930be74752383cb941c6 (diff)
parent2186b134a49ae6ad49e5782098239f3de0f9c5ab (diff)
downloadPrismLauncher-9171f471abc4d61079a9fe2bda10801bded100e9.tar.gz
PrismLauncher-9171f471abc4d61079a9fe2bda10801bded100e9.tar.bz2
PrismLauncher-9171f471abc4d61079a9fe2bda10801bded100e9.zip
Merge pull request #1094 from flowln/fix_the_thing
Fix build due to merge without rebase messing things up :p
Diffstat (limited to 'launcher')
-rw-r--r--launcher/modplatform/EnsureMetadataTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/EnsureMetadataTask.cpp b/launcher/modplatform/EnsureMetadataTask.cpp
index aa77b5b9..234330a7 100644
--- a/launcher/modplatform/EnsureMetadataTask.cpp
+++ b/launcher/modplatform/EnsureMetadataTask.cpp
@@ -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);