summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/ComponentUpdateTask_p.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2020-06-27 12:02:31 +0200
committerPetr Mrázek <peterix@gmail.com>2020-06-27 12:02:31 +0200
commita0ef20a264656c127dd62eb9140e89a2fda6a8e0 (patch)
tree43b9262f501e9ec835939ec50cc23473e661b291 /api/logic/minecraft/ComponentUpdateTask_p.h
parent4ca62916f562ca2d233d0fb4771054a106f1afc3 (diff)
downloadMultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar
MultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar.gz
MultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar.lz
MultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.tar.xz
MultiMC-a0ef20a264656c127dd62eb9140e89a2fda6a8e0.zip
NOISSUE rename ComponentList to PackProfile
It's not just components, so the naming needed cleaning up.
Diffstat (limited to 'api/logic/minecraft/ComponentUpdateTask_p.h')
-rw-r--r--api/logic/minecraft/ComponentUpdateTask_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/api/logic/minecraft/ComponentUpdateTask_p.h b/api/logic/minecraft/ComponentUpdateTask_p.h
index 5989cf07..5b02431b 100644
--- a/api/logic/minecraft/ComponentUpdateTask_p.h
+++ b/api/logic/minecraft/ComponentUpdateTask_p.h
@@ -5,7 +5,7 @@
#include <QList>
#include "net/Mode.h"
-class ComponentList;
+class PackProfile;
struct RemoteLoadStatus
{
@@ -15,7 +15,7 @@ struct RemoteLoadStatus
List,
Version
} type = Type::Version;
- size_t componentListIndex = 0;
+ size_t PackProfileIndex = 0;
bool finished = false;
bool succeeded = false;
QString error;
@@ -23,7 +23,7 @@ struct RemoteLoadStatus
struct ComponentUpdateTaskData
{
- ComponentList * m_list = nullptr;
+ PackProfile * m_list = nullptr;
QList<RemoteLoadStatus> remoteLoadStatusList;
bool remoteLoadSuccessful = true;
size_t remoteTasksInProgress = 0;