diff options
author | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-02-09 02:02:40 -0700 |
---|---|---|
committer | Rachel Powers <508861+Ryex@users.noreply.github.com> | 2023-03-20 14:56:32 -0700 |
commit | 397e7f036339b09569317300423261f2b37d6119 (patch) | |
tree | f4854cbe7d4737704f3f3580fd0e81bcd772047d /launcher/ui/dialogs/CopyInstanceDialog.ui | |
parent | c5bbe42b57075a4b428d0be1c1ca9f51701a1a7c (diff) | |
download | PrismLauncher-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/ui/dialogs/CopyInstanceDialog.ui')
-rw-r--r-- | launcher/ui/dialogs/CopyInstanceDialog.ui | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/launcher/ui/dialogs/CopyInstanceDialog.ui b/launcher/ui/dialogs/CopyInstanceDialog.ui index 8df0d3db..ce8657f6 100644 --- a/launcher/ui/dialogs/CopyInstanceDialog.ui +++ b/launcher/ui/dialogs/CopyInstanceDialog.ui @@ -9,8 +9,8 @@ <rect> <x>0</x> <y>0</y> - <width>525</width> - <height>581</height> + <width>531</width> + <height>640</height> </rect> </property> <property name="windowTitle"> @@ -275,6 +275,44 @@ </layout> </widget> </item> + <item> + <widget class="QGroupBox" name="horizontalGroupBox"> + <property name="title"> + <string>Clone / Reflink (Copy On Write) Options</string> + </property> + <layout class="QHBoxLayout" name="useCloneLayout"> + <item> + <widget class="QCheckBox" name="useCloneCheckbox"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Use Clone / Reflink</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="cloneSupportedLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> + <horstretch>1</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Clone / Reflink not supported on this filesystem</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="margin"> + <number>4</number> + </property> + </widget> + </item> + </layout> + </widget> + </item> </layout> </item> <item> @@ -302,7 +340,6 @@ <tabstop>copyServersCheckbox</tabstop> <tabstop>copyResPacksCheckbox</tabstop> <tabstop>copyModsCheckbox</tabstop> - <tabstop>linkFilesGroup</tabstop> <tabstop>recursiveLinkCheckbox</tabstop> <tabstop>hardLinksCheckbox</tabstop> <tabstop>dontLinkSavesCheckbox</tabstop> |