diff options
author | flow <flowlnlnln@gmail.com> | 2022-12-03 10:15:38 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-12-06 17:00:34 -0300 |
commit | bb386a1162db751136483a59f2cffe8d9a3d1e73 (patch) | |
tree | cf6e0691822deb7a1189ec549393fd16de117c2e /launcher/InstanceList.h | |
parent | 80054e4db26b85f81778f1ac53bd7c123f70fe3c (diff) | |
download | PrismLauncher-bb386a1162db751136483a59f2cffe8d9a3d1e73.tar.gz PrismLauncher-bb386a1162db751136483a59f2cffe8d9a3d1e73.tar.bz2 PrismLauncher-bb386a1162db751136483a59f2cffe8d9a3d1e73.zip |
fix(ManagedPackPage): only update the current instance exactly
Also carry on the original ID to avoid updating the wrong instance.
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/InstanceList.h')
-rw-r--r-- | launcher/InstanceList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/InstanceList.h b/launcher/InstanceList.h index 3673298f..edacba3c 100644 --- a/launcher/InstanceList.h +++ b/launcher/InstanceList.h @@ -133,7 +133,7 @@ public: * should_override is used when another similar instance already exists, and we want to override it * - for instance, when updating it. */ - bool commitStagedInstance(const QString& keyPath, const InstanceName& instanceName, const QString& groupName, bool should_override); + bool commitStagedInstance(const QString& keyPath, const InstanceName& instanceName, const QString& groupName, const InstanceTask&); /** * Destroy a previously created staging area given by @keyPath - used when creation fails. |