diff --git a/launcher/include/accountmanager.h b/launcher/include/accountmanager.h index c7dbdd7..a6d4e0b 100644 --- a/launcher/include/accountmanager.h +++ b/launcher/include/accountmanager.h @@ -43,7 +43,7 @@ public: private: void insertAccount(Account *account); - QVector m_accounts; + QList m_accounts; LauncherCore &m_launcher; }; \ No newline at end of file diff --git a/launcher/include/patcher.h b/launcher/include/patcher.h index ec9b506..1bdbf3c 100644 --- a/launcher/include/patcher.h +++ b/launcher/include/patcher.h @@ -57,7 +57,7 @@ private: void processPatch(const QueuedPatch &patch); - QVector m_patchQueue; + QList m_patchQueue; QDir m_patchesDir; QString m_baseDirectory; diff --git a/launcher/include/patchlist.h b/launcher/include/patchlist.h index a5c5f77..d8f1aec 100644 --- a/launcher/include/patchlist.h +++ b/launcher/include/patchlist.h @@ -3,14 +3,14 @@ #pragma once +#include #include -#include class Patch { public: QString name, url, repository, version; - QVector hashes; + QList hashes; long hashBlockSize = 0; long length = 0; }; @@ -20,10 +20,10 @@ class PatchList public: explicit PatchList(const QString &patchList); - [[nodiscard]] QVector patches() const; + [[nodiscard]] QList patches() const; [[nodiscard]] bool isEmpty() const; private: - QVector m_patches; + QList m_patches; }; \ No newline at end of file diff --git a/launcher/include/profile.h b/launcher/include/profile.h index 9459404..83541d0 100644 --- a/launcher/include/profile.h +++ b/launcher/include/profile.h @@ -184,7 +184,7 @@ private: ProfileConfig *m_config = nullptr; Account *m_account = nullptr; - QVector m_expansionNames; + QList m_expansionNames; BootData *m_bootData = nullptr; GameData *m_gameData = nullptr; diff --git a/launcher/include/profilemanager.h b/launcher/include/profilemanager.h index c2a86e2..c59dd96 100644 --- a/launcher/include/profilemanager.h +++ b/launcher/include/profilemanager.h @@ -36,7 +36,7 @@ public: Q_INVOKABLE Profile *addProfile(); Q_INVOKABLE void deleteProfile(Profile *profile); - [[nodiscard]] QVector profiles() const; + [[nodiscard]] QList profiles() const; [[nodiscard]] Q_INVOKABLE int numProfiles() const; Q_INVOKABLE bool canDelete(Profile *account) const; @@ -49,7 +49,7 @@ public: private: void insertProfile(Profile *profile); - QVector m_profiles; + QList m_profiles; LauncherCore &m_launcher; }; \ No newline at end of file diff --git a/launcher/src/patchlist.cpp b/launcher/src/patchlist.cpp index 9fd6974..1ba9661 100644 --- a/launcher/src/patchlist.cpp +++ b/launcher/src/patchlist.cpp @@ -34,7 +34,7 @@ PatchList::PatchList(const QString &patchList) qDebug(ASTRA_PATCHER) << "Finished parsing patch list. # of patches:" << m_patches.size(); } -QVector PatchList::patches() const +QList PatchList::patches() const { return m_patches; } diff --git a/launcher/src/profilemanager.cpp b/launcher/src/profilemanager.cpp index 8f93894..caa493f 100644 --- a/launcher/src/profilemanager.cpp +++ b/launcher/src/profilemanager.cpp @@ -137,7 +137,7 @@ void ProfileManager::insertProfile(Profile *profile) endInsertRows(); } -QVector ProfileManager::profiles() const +QList ProfileManager::profiles() const { return m_profiles; }