changed map tipe

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-06-22 21:12:02 +03:00
parent 049b02cee4
commit 85495c794d
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ QByteArray FlamePackExportTask::generateIndex()
auto meta = mod->metadata();
if (meta == nullptr || meta->provider != ModPlatform::ResourceProvider::FLAME)
continue;
resolvedFiles[gameRoot.relativeFilePath(mod->fileinfo().absoluteFilePath())] = {};
resolvedFiles[gameRoot.relativeFilePath(mod->fileinfo().absoluteFilePath())] = true;
QJsonObject file;
file["projectID"] = meta->project_id.toInt();

View File

@ -54,7 +54,7 @@ class FlamePackExportTask : public Task {
typedef std::optional<QString> BuildZipResult;
QFileInfoList files;
QMap<QString, QString> resolvedFiles;
QMap<QString, bool> resolvedFiles;
Task::Ptr task;
QFuture<BuildZipResult> buildZipFuture;
QFutureWatcher<BuildZipResult> buildZipWatcher;