aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-17 22:23:50 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-17 22:23:50 +0200
commitbe2888d6fbf28e515206d8677f8f6c8fce8b6e89 (patch)
tree9bc9da02527e45759631b9c48f7ccc9b425ef65e /launcher/modplatform
parent7ab391904aca58c09bead083c41b7bf4108361d1 (diff)
downloadPrismLauncher-be2888d6fbf28e515206d8677f8f6c8fce8b6e89.tar.gz
PrismLauncher-be2888d6fbf28e515206d8677f8f6c8fce8b6e89.tar.bz2
PrismLauncher-be2888d6fbf28e515206d8677f8f6c8fce8b6e89.zip
chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/modplatform')
-rw-r--r--launcher/modplatform/modrinth/ModrinthAPI.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h
index c3f6bab8..0f150e97 100644
--- a/launcher/modplatform/modrinth/ModrinthAPI.h
+++ b/launcher/modplatform/modrinth/ModrinthAPI.h
@@ -141,7 +141,10 @@ class ModrinthAPI : public NetworkResourceAPI {
return s.isEmpty() ? QString() : s;
}
- static inline auto validateModLoaders(ModLoaderTypes loaders) -> bool { return loaders & (NeoForge | Forge | Fabric | Quilt | LiteLoader); }
+ static inline auto validateModLoaders(ModLoaderTypes loaders) -> bool
+ {
+ return loaders & (NeoForge | Forge | Fabric | Quilt | LiteLoader);
+ }
[[nodiscard]] std::optional<QString> getDependencyURL(DependencySearchArgs const& args) const override
{