From bb386a1162db751136483a59f2cffe8d9a3d1e73 Mon Sep 17 00:00:00 2001 From: flow Date: Sat, 3 Dec 2022 10:15:38 -0300 Subject: fix(ManagedPackPage): only update the current instance exactly Also carry on the original ID to avoid updating the wrong instance. Signed-off-by: flow --- launcher/InstanceList.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launcher/InstanceList.h') 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. -- cgit