mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
NOISSUE fix build on Windows
This commit is contained in:
parent
9c4fcb826d
commit
f948fd82ab
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user