refactor(test): fix loading mod metadata setting

This commit is contained in:
Sefa Eyeoglu
2022-06-04 15:30:34 +02:00
parent e843b8e188
commit 8856c8cd62
14 changed files with 28 additions and 25 deletions

View File

@@ -29,7 +29,7 @@ class ModFolderModel;
class ModDownloadTask : public SequentialTask {
Q_OBJECT
public:
explicit ModDownloadTask(ModPlatform::IndexedPack mod, ModPlatform::IndexedVersion version, const std::shared_ptr<ModFolderModel> mods);
explicit ModDownloadTask(ModPlatform::IndexedPack mod, ModPlatform::IndexedVersion version, const std::shared_ptr<ModFolderModel> mods, bool is_indexed);
const QString& getFilename() const { return m_mod_version.fileName; }
private: