aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/flame/FlameModPage.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-04-18 13:12:42 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-04-19 10:22:50 +0200
commitfcdc7a1a358ba9d8dcf0492310dd3528dc05a911 (patch)
tree5536840fb46ac8c395706639b1034ea488090c5c /launcher/ui/pages/modplatform/flame/FlameModPage.h
parent56ce7f5dcd5b6aa89ac23ad80c2e7ba058bc256d (diff)
downloadPrismLauncher-fcdc7a1a358ba9d8dcf0492310dd3528dc05a911.tar.gz
PrismLauncher-fcdc7a1a358ba9d8dcf0492310dd3528dc05a911.tar.bz2
PrismLauncher-fcdc7a1a358ba9d8dcf0492310dd3528dc05a911.zip
fix: fix Modrinth query when Quilt is in use
Diffstat (limited to 'launcher/ui/pages/modplatform/flame/FlameModPage.h')
-rw-r--r--launcher/ui/pages/modplatform/flame/FlameModPage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/ui/pages/modplatform/flame/FlameModPage.h b/launcher/ui/pages/modplatform/flame/FlameModPage.h
index d96a0720..27cbdb8c 100644
--- a/launcher/ui/pages/modplatform/flame/FlameModPage.h
+++ b/launcher/ui/pages/modplatform/flame/FlameModPage.h
@@ -35,6 +35,7 @@
#pragma once
+#include "modplatform/ModAPI.h"
#include "ui/pages/modplatform/ModPage.h"
#include "modplatform/flame/FlameAPI.h"
@@ -54,7 +55,7 @@ class FlameModPage : public ModPage {
inline auto debugName() const -> QString override { return "Flame"; }
inline auto metaEntryBase() const -> QString override { return "FlameMods"; };
- auto validateVersion(ModPlatform::IndexedVersion& ver, QString mineVer, QString loaderVer = "") const -> bool override;
+ auto validateVersion(ModPlatform::IndexedVersion& ver, QString mineVer, ModAPI::ModLoaderType loader = ModAPI::Unspecified) const -> bool override;
auto shouldDisplay() const -> bool override;
};