aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceCopyPrefs.cpp
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-02-09 02:02:40 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-03-20 14:56:32 -0700
commit397e7f036339b09569317300423261f2b37d6119 (patch)
treef4854cbe7d4737704f3f3580fd0e81bcd772047d /launcher/InstanceCopyPrefs.cpp
parentc5bbe42b57075a4b428d0be1c1ca9f51701a1a7c (diff)
downloadPrismLauncher-397e7f036339b09569317300423261f2b37d6119.tar.gz
PrismLauncher-397e7f036339b09569317300423261f2b37d6119.tar.bz2
PrismLauncher-397e7f036339b09569317300423261f2b37d6119.zip
feat(reflink): hook up relink / clone on the copy dialog
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/InstanceCopyPrefs.cpp')
-rw-r--r--launcher/InstanceCopyPrefs.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/launcher/InstanceCopyPrefs.cpp b/launcher/InstanceCopyPrefs.cpp
index 59825ced..f2aa5e69 100644
--- a/launcher/InstanceCopyPrefs.cpp
+++ b/launcher/InstanceCopyPrefs.cpp
@@ -113,6 +113,11 @@ bool InstanceCopyPrefs::isDontLinkSavesEnabled() const
return dontLinkSaves;
}
+bool InstanceCopyPrefs::isUseCloneEnabled() const
+{
+ return useClone;
+}
+
// ======= Setters =======
void InstanceCopyPrefs::enableCopySaves(bool b)
{
@@ -173,3 +178,8 @@ void InstanceCopyPrefs::enableDontLinkSaves(bool b)
{
dontLinkSaves = b;
}
+
+void InstanceCopyPrefs::enableUseClone(bool b)
+{
+ useClone = b;
+} \ No newline at end of file