fix: provide default value to is_indexed in ModDownloadTask

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow committed 2022-07-17 11:33:40 -03:00
1 parent 56085310cb
commit 05fa266e6b
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ class ModFolderModel;
class ModDownloadTask : public SequentialTask {
Q_OBJECT
public:
explicit ModDownloadTask(ModPlatform::IndexedPack mod, ModPlatform::IndexedVersion version, const std::shared_ptr<ModFolderModel> mods, bool is_indexed);
explicit ModDownloadTask(ModPlatform::IndexedPack mod, ModPlatform::IndexedVersion version, const std::shared_ptr<ModFolderModel> mods, bool is_indexed = true);
const QString& getFilename() const { return m_mod_version.fileName; }
private: