From a0ef20a264656c127dd62eb9140e89a2fda6a8e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 27 Jun 2020 12:02:31 +0200 Subject: NOISSUE rename ComponentList to PackProfile It's not just components, so the naming needed cleaning up. --- api/logic/minecraft/MinecraftInstance.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api/logic/minecraft/MinecraftInstance.h') diff --git a/api/logic/minecraft/MinecraftInstance.h b/api/logic/minecraft/MinecraftInstance.h index a8f64109..985a8a76 100644 --- a/api/logic/minecraft/MinecraftInstance.h +++ b/api/logic/minecraft/MinecraftInstance.h @@ -10,7 +10,7 @@ class ModFolderModel; class WorldList; class GameOptions; class LaunchStep; -class ComponentList; +class PackProfile; class MULTIMC_LOGIC_EXPORT MinecraftInstance: public BaseInstance { @@ -64,7 +64,7 @@ public: ////// Profile management ////// - std::shared_ptr getComponentList() const; + std::shared_ptr getPackProfile() const; ////// Mod Lists ////// std::shared_ptr loaderModList() const; @@ -120,7 +120,7 @@ private: QString prettifyTimeDuration(int64_t duration); protected: // data - std::shared_ptr m_components; + std::shared_ptr m_components; mutable std::shared_ptr m_loader_mod_list; mutable std::shared_ptr m_core_mod_list; mutable std::shared_ptr m_resource_pack_list; -- cgit v1.2.3