aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/ModUpdateDialog.h
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-07-10 15:15:25 -0300
committerflow <flowlnlnln@gmail.com>2022-07-17 11:33:45 -0300
commitde9e304236ac0c11dd2b6bfb8b6f55943349c0e9 (patch)
tree1dd0624ef00fb1f7b82bf68a668ac0271f03d69b /launcher/ui/dialogs/ModUpdateDialog.h
parent650af5eb64d3c560044cf1e806159f1d64985aa6 (diff)
downloadPrismLauncher-de9e304236ac0c11dd2b6bfb8b6f55943349c0e9.tar.gz
PrismLauncher-de9e304236ac0c11dd2b6bfb8b6f55943349c0e9.tar.bz2
PrismLauncher-de9e304236ac0c11dd2b6bfb8b6f55943349c0e9.zip
fix: std::list -> QList
Qt6 removed Qlist::toStdList() :sob: Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/ui/dialogs/ModUpdateDialog.h')
-rw-r--r--launcher/ui/dialogs/ModUpdateDialog.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/launcher/ui/dialogs/ModUpdateDialog.h b/launcher/ui/dialogs/ModUpdateDialog.h
index 638f64bc..76aaab36 100644
--- a/launcher/ui/dialogs/ModUpdateDialog.h
+++ b/launcher/ui/dialogs/ModUpdateDialog.h
@@ -19,13 +19,13 @@ class ModUpdateDialog final : public ReviewMessageBox {
explicit ModUpdateDialog(QWidget* parent,
BaseInstance* instance,
const std::shared_ptr<ModFolderModel> mod_model,
- std::list<Mod::Ptr>& search_for);
+ QList<Mod::Ptr>& search_for);
void checkCandidates();
void appendMod(const CheckUpdateTask::UpdatableMod& info);
- const std::list<ModDownloadTask*> getTasks();
+ const QList<ModDownloadTask*> getTasks();
auto indexDir() const -> QDir { return m_mod_model->indexDir(); }
auto noUpdates() const -> bool { return m_no_updates; };
@@ -46,13 +46,13 @@ class ModUpdateDialog final : public ReviewMessageBox {
const std::shared_ptr<ModFolderModel> m_mod_model;
- std::list<Mod::Ptr>& m_candidates;
- std::list<Mod*> m_modrinth_to_update;
- std::list<Mod*> m_flame_to_update;
+ QList<Mod::Ptr>& m_candidates;
+ QList<Mod*> m_modrinth_to_update;
+ QList<Mod*> m_flame_to_update;
ConcurrentTask* m_second_try_metadata;
- std::list<std::tuple<Mod*, QString>> m_failed_metadata;
- std::list<std::tuple<Mod*, QString, QUrl>> m_failed_check_update;
+ QList<std::tuple<Mod*, QString>> m_failed_metadata;
+ QList<std::tuple<Mod*, QString, QUrl>> m_failed_check_update;
QHash<QString, ModDownloadTask*> m_tasks;
BaseInstance* m_instance;