mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2025-01-05 21:54:15 +00:00
NOISSUE Fix build on Qt 5.4 (hopefully)
This commit is contained in:
parent
e463edb185
commit
c7b0d15393
@ -141,8 +141,6 @@ void InstanceExportTask::lookupSucceeded()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug() << "Failed files: " << failedFiles;
|
|
||||||
|
|
||||||
QJsonObject indexJson;
|
QJsonObject indexJson;
|
||||||
indexJson.insert("formatVersion", QJsonValue(1));
|
indexJson.insert("formatVersion", QJsonValue(1));
|
||||||
indexJson.insert("game", QJsonValue("minecraft"));
|
indexJson.insert("game", QJsonValue("minecraft"));
|
||||||
@ -193,7 +191,7 @@ void InstanceExportTask::lookupSucceeded()
|
|||||||
|
|
||||||
QTemporaryDir tmp;
|
QTemporaryDir tmp;
|
||||||
if (tmp.isValid()) {
|
if (tmp.isValid()) {
|
||||||
Json::write(indexJson, tmp.filePath("modrinth.index.json"));
|
Json::write(indexJson, tmp.path() + "/modrinth.index.json");
|
||||||
|
|
||||||
if (!failedFiles.isEmpty()) {
|
if (!failedFiles.isEmpty()) {
|
||||||
QDir tmpDir(tmp.path());
|
QDir tmpDir(tmp.path());
|
||||||
|
Loading…
Reference in New Issue
Block a user