fix: don't include opted out versions with the 'Any' filter on the MD

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-10-12 10:26:14 -03:00
parent 19ee736e1d
commit b2a5d8daf4
4 changed files with 10 additions and 1 deletions

View File

@ -61,6 +61,7 @@ class FlameModPage : public ModPage {
inline auto metaEntryBase() const -> QString override { return "FlameMods"; };
auto validateVersion(ModPlatform::IndexedVersion& ver, QString mineVer, ModAPI::ModLoaderTypes loaders = ModAPI::Unspecified) const -> bool override;
bool optedOut(ModPlatform::IndexedVersion& ver) const override;
auto shouldDisplay() const -> bool override;
};