diff options
| author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-02-28 13:35:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-28 13:35:58 +0100 |
| commit | 139ff82432897e68bddab9ed8e9aec89c174d0fe (patch) | |
| tree | caf9a57ccf8e8572bcea0e48d8d3cdf4a8f355c3 /launcher/ui | |
| parent | 148775b3e97f67547af88e0ced643c042bbe28fc (diff) | |
| parent | 4e8f075ff3c62292e2aff2aa5ddf59aaa18cdf05 (diff) | |
| download | PrismLauncher-139ff82432897e68bddab9ed8e9aec89c174d0fe.tar.gz PrismLauncher-139ff82432897e68bddab9ed8e9aec89c174d0fe.tar.bz2 PrismLauncher-139ff82432897e68bddab9ed8e9aec89c174d0fe.zip | |
Merge pull request #207 from flowln/curseforge_api
Diffstat (limited to 'launcher/ui')
| -rw-r--r-- | launcher/ui/pages/modplatform/flame/FlameModModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/pages/modplatform/flame/FlameModModel.cpp b/launcher/ui/pages/modplatform/flame/FlameModModel.cpp index 2cf83261..e8afba5a 100644 --- a/launcher/ui/pages/modplatform/flame/FlameModModel.cpp +++ b/launcher/ui/pages/modplatform/flame/FlameModModel.cpp @@ -175,13 +175,13 @@ void ListModel::performPaginatedSearch() "pageSize=25&" "searchFilter=%2&" "sort=%3&" - "%4" + "modLoaderType=%4&" "gameVersion=%5" ) .arg(nextSearchOffset) .arg(currentSearchTerm) .arg(sorts[currentSort]) - .arg(hasFabric ? "modLoaderType=4&" : "") + .arg(hasFabric ? 4 : 1) // Enum: https://docs.curseforge.com/?http#tocS_ModLoaderType .arg(mcVersion); netJob->addNetAction(Net::Download::makeByteArray(QUrl(searchUrl), &response)); |
