diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-04-19 20:36:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 20:36:37 +0200 |
commit | 027c666265a2fe70423b56faf7680a689454d3c2 (patch) | |
tree | 7f15b1f460771935880936f4f63df541c55fde93 /launcher/ui/pages/modplatform/flame/FlameModPage.cpp | |
parent | 31c757d91228840d74d21506157d04d487261748 (diff) | |
parent | fcdc7a1a358ba9d8dcf0492310dd3528dc05a911 (diff) | |
download | PrismLauncher-027c666265a2fe70423b56faf7680a689454d3c2.tar.gz PrismLauncher-027c666265a2fe70423b56faf7680a689454d3c2.tar.bz2 PrismLauncher-027c666265a2fe70423b56faf7680a689454d3c2.zip |
Merge pull request #450 from Scrumplex/fix-quilt-mod-dl
Diffstat (limited to 'launcher/ui/pages/modplatform/flame/FlameModPage.cpp')
-rw-r--r-- | launcher/ui/pages/modplatform/flame/FlameModPage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/pages/modplatform/flame/FlameModPage.cpp b/launcher/ui/pages/modplatform/flame/FlameModPage.cpp index 203adb3b..70759994 100644 --- a/launcher/ui/pages/modplatform/flame/FlameModPage.cpp +++ b/launcher/ui/pages/modplatform/flame/FlameModPage.cpp @@ -61,9 +61,9 @@ FlameModPage::FlameModPage(ModDownloadDialog* dialog, BaseInstance* instance) connect(ui->modSelectionButton, &QPushButton::clicked, this, &FlameModPage::onModSelected); } -auto FlameModPage::validateVersion(ModPlatform::IndexedVersion& ver, QString mineVer, QString loaderVer) const -> bool +auto FlameModPage::validateVersion(ModPlatform::IndexedVersion& ver, QString mineVer, ModAPI::ModLoaderType loader) const -> bool { - (void) loaderVer; + Q_UNUSED(loader); return ver.mcVersion.contains(mineVer); } |