mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 08:41:42 +00:00
NOISSUE fix build on Windows
This commit is contained in:
@@ -138,7 +138,7 @@ void Modrinth::ListModel::searchRequestFinished()
|
||||
|
||||
QVector<Modrinth::Modpack> newList;
|
||||
QJsonArray hits;
|
||||
int total_hits;
|
||||
int total_hits = 0;
|
||||
|
||||
try
|
||||
{
|
||||
@@ -149,6 +149,7 @@ void Modrinth::ListModel::searchRequestFinished()
|
||||
catch(const JSONValidationError &e)
|
||||
{
|
||||
qWarning() << "Error while parsing response from Modrinth: " << e.cause();
|
||||
return;
|
||||
}
|
||||
|
||||
for (auto packRaw : hits)
|
||||
|
Reference in New Issue
Block a user