aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-08-23 10:26:57 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-08-23 10:26:57 +0300
commit4704c522e002e0da2c9ce49f71456fce684ab3a1 (patch)
treecce59aedd1f57985e6a444de3c72957d58abfa79 /launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
parentf7951f6082ac21ac19bc0089d01d6c7f5b322422 (diff)
downloadPrismLauncher-4704c522e002e0da2c9ce49f71456fce684ab3a1.tar.gz
PrismLauncher-4704c522e002e0da2c9ce49f71456fce684ab3a1.tar.bz2
PrismLauncher-4704c522e002e0da2c9ce49f71456fce684ab3a1.zip
moved modloaderTypes to ModPlatform
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp')
-rw-r--r--launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp b/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
index bff8fa2f..ba3aad84 100644
--- a/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
+++ b/launcher/modplatform/modrinth/ModrinthCheckUpdate.cpp
@@ -111,11 +111,11 @@ void ModrinthCheckUpdate::executeTask()
// so we may want to filter it
QString loader_filter;
if (m_loaders.has_value()) {
- static auto flags = { ResourceAPI::ModLoaderType::NeoForge, ResourceAPI::ModLoaderType::Forge,
- ResourceAPI::ModLoaderType::Fabric, ResourceAPI::ModLoaderType::Quilt };
+ static auto flags = { ModPlatform::ModLoaderType::NeoForge, ModPlatform::ModLoaderType::Forge,
+ ModPlatform::ModLoaderType::Fabric, ModPlatform::ModLoaderType::Quilt };
for (auto flag : flags) {
if (m_loaders.value().testFlag(flag)) {
- loader_filter = api.getModLoaderString(flag);
+ loader_filter = ModPlatform::getModLoaderString(flag);
break;
}
}