Reduce spaghettiness
This commit is contained in:
parent
affc2521aa
commit
6d22794cf9
2 changed files with 14 additions and 2 deletions
|
@ -172,7 +172,13 @@ void ListModel::performPaginatedSearch()
|
|||
"query=%2&"
|
||||
"index=%3&"
|
||||
"filters=categories=\"%4\" AND versions=\"%5\""
|
||||
).arg(nextSearchOffset).arg(currentSearchTerm).arg(sorts[currentSort]).arg(hasFabric ? "fabric" : "forge").arg(mcVersion);
|
||||
)
|
||||
.arg(nextSearchOffset)
|
||||
.arg(currentSearchTerm)
|
||||
.arg(sorts[currentSort])
|
||||
.arg(hasFabric ? "fabric" : "forge")
|
||||
.arg(mcVersion);
|
||||
|
||||
netJob->addNetAction(Net::Download::makeByteArray(QUrl(searchUrl), &response));
|
||||
jobPtr = netJob;
|
||||
jobPtr->start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue