diff options
Diffstat (limited to 'launcher/minecraft')
-rw-r--r-- | launcher/minecraft/mod/ModFolderModel.cpp | 4 | ||||
-rw-r--r-- | launcher/minecraft/mod/ModFolderModel.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/launcher/minecraft/mod/ModFolderModel.cpp b/launcher/minecraft/mod/ModFolderModel.cpp index e0391c01..c4449b2a 100644 --- a/launcher/minecraft/mod/ModFolderModel.cpp +++ b/launcher/minecraft/mod/ModFolderModel.cpp @@ -271,9 +271,9 @@ bool ModFolderModel::isValid() return m_dir.exists() && m_dir.isReadable(); } -auto ModFolderModel::selectedMods(QModelIndexList& indexes) -> std::list<Mod::Ptr> +auto ModFolderModel::selectedMods(QModelIndexList& indexes) -> QList<Mod::Ptr> { - std::list<Mod::Ptr> selected_mods; + QList<Mod::Ptr> selected_mods; for (auto i : indexes) { if(i.column() != 0) continue; diff --git a/launcher/minecraft/mod/ModFolderModel.h b/launcher/minecraft/mod/ModFolderModel.h index 04681879..a7d3ece0 100644 --- a/launcher/minecraft/mod/ModFolderModel.h +++ b/launcher/minecraft/mod/ModFolderModel.h @@ -146,7 +146,7 @@ public: return mods; } - auto selectedMods(QModelIndexList& indexes) -> std::list<Mod::Ptr>; + auto selectedMods(QModelIndexList& indexes) -> QList<Mod::Ptr>; public slots: void disableInteraction(bool disabled); |