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();
|
auto meta = mod->metadata();
|
||||||
if (meta == nullptr || meta->provider != ModPlatform::ResourceProvider::FLAME)
|
if (meta == nullptr || meta->provider != ModPlatform::ResourceProvider::FLAME)
|
||||||
continue;
|
continue;
|
||||||
resolvedFiles[gameRoot.relativeFilePath(mod->fileinfo().absoluteFilePath())] = {};
|
resolvedFiles[gameRoot.relativeFilePath(mod->fileinfo().absoluteFilePath())] = true;
|
||||||
|
|
||||||
QJsonObject file;
|
QJsonObject file;
|
||||||
file["projectID"] = meta->project_id.toInt();
|
file["projectID"] = meta->project_id.toInt();
|
||||||
|
@ -54,7 +54,7 @@ class FlamePackExportTask : public Task {
|
|||||||
typedef std::optional<QString> BuildZipResult;
|
typedef std::optional<QString> BuildZipResult;
|
||||||
|
|
||||||
QFileInfoList files;
|
QFileInfoList files;
|
||||||
QMap<QString, QString> resolvedFiles;
|
QMap<QString, bool> resolvedFiles;
|
||||||
Task::Ptr task;
|
Task::Ptr task;
|
||||||
QFuture<BuildZipResult> buildZipFuture;
|
QFuture<BuildZipResult> buildZipFuture;
|
||||||
QFutureWatcher<BuildZipResult> buildZipWatcher;
|
QFutureWatcher<BuildZipResult> buildZipWatcher;
|
||||||
|
Loading…
Reference in New Issue
Block a user