mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2025-01-03 14:38:44 +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;
|
||||
indexJson.insert("formatVersion", QJsonValue(1));
|
||||
indexJson.insert("game", QJsonValue("minecraft"));
|
||||
@ -193,7 +191,7 @@ void InstanceExportTask::lookupSucceeded()
|
||||
|
||||
QTemporaryDir tmp;
|
||||
if (tmp.isValid()) {
|
||||
Json::write(indexJson, tmp.filePath("modrinth.index.json"));
|
||||
Json::write(indexJson, tmp.path() + "/modrinth.index.json");
|
||||
|
||||
if (!failedFiles.isEmpty()) {
|
||||
QDir tmpDir(tmp.path());
|
||||
|
Loading…
Reference in New Issue
Block a user