NOISSUE Correct trending URL string for Technic packs

This seems to have just been an inadvertent mistake when copy-pasting.
This commit just removes an annoying warning.
This commit is contained in:
Jamie Mansfield 2021-07-13 15:42:44 +01:00
parent 4401b9e137
commit 66fde9e6b7
No known key found for this signature in database
GPG Key ID: 36F61598F39F67B0

View File

@ -95,9 +95,7 @@ void Technic::ListModel::performSearch()
NetJob *netJob = new NetJob("Technic::Search");
QString searchUrl = "";
if (currentSearchTerm.isEmpty()) {
searchUrl = QString(
"https://api.technicpack.net/trending?build=multimc"
).arg(currentSearchTerm);
searchUrl = "https://api.technicpack.net/trending?build=multimc";
}
else
{