diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-02-15 22:01:27 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-03-20 14:56:32 -0700 |
commit | 1ca2c59f2ed7739b4b7d50c7212e292a4432da93 (patch) | |
tree | caf24466c26cd86ce0f1f0d31cb02c7302fe44a2 /launcher/InstanceCopyTask.cpp | |
parent | 3ec92acfe7a843a34018fc142439888c4ca5dba0 (diff) | |
download | PrismLauncher-1ca2c59f2ed7739b4b7d50c7212e292a4432da93.tar.gz PrismLauncher-1ca2c59f2ed7739b4b7d50c7212e292a4432da93.tar.bz2 PrismLauncher-1ca2c59f2ed7739b4b7d50c7212e292a4432da93.zip |
feat: track instance copies that use links
confirm deleations when other instances link to it
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/InstanceCopyTask.cpp')
-rw-r--r-- | launcher/InstanceCopyTask.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/InstanceCopyTask.cpp b/launcher/InstanceCopyTask.cpp index 40babd0f..e0a4de0b 100644 --- a/launcher/InstanceCopyTask.cpp +++ b/launcher/InstanceCopyTask.cpp @@ -137,6 +137,8 @@ void InstanceCopyTask::copyFinished() if(!m_keepPlaytime) { inst->resetTimePlayed(); } + if (m_useLinks) + inst->addLinkedInstanceId(m_origInstance->id()); emitSucceeded(); } |