Fixed windows build
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
cd1e8dc8cc
commit
8939096db6
@ -197,7 +197,7 @@ void FlamePackExportTask::makeApiRequest()
|
|||||||
}
|
}
|
||||||
|
|
||||||
setStatus(tr("Parsing API response from CurseForge for '%1'...").arg((*mod)->name()));
|
setStatus(tr("Parsing API response from CurseForge for '%1'...").arg((*mod)->name()));
|
||||||
if (Json::ensureBoolean(file_obj, "isAvailable", false))
|
if (Json::ensureBoolean(file_obj, "isAvailable", false, "isAvailable"))
|
||||||
resolvedFiles.insert(
|
resolvedFiles.insert(
|
||||||
mod.value()->fileinfo().absoluteFilePath(),
|
mod.value()->fileinfo().absoluteFilePath(),
|
||||||
{ Json::requireInteger(file_obj, "modId"), Json::requireInteger(file_obj, "id"), mod.value()->enabled() });
|
{ Json::requireInteger(file_obj, "modId"), Json::requireInteger(file_obj, "id"), mod.value()->enabled() });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user