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