changed map tipe
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
049b02cee4
commit
85495c794d
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user