mirror of
https://github.com/redstrate/Astra.git
synced 2025-06-08 15:07:45 +00:00
Remove unnecessary mobileform separators
This commit is contained in:
parent
682d6b8aa6
commit
6142429623
4 changed files with 25 additions and 58 deletions
|
@ -29,8 +29,6 @@ Kirigami.ScrollablePage {
|
|||
title: i18n("General")
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
|
||||
MobileForm.FormTextFieldDelegate {
|
||||
label: i18n("Username")
|
||||
|
@ -38,8 +36,7 @@ Kirigami.ScrollablePage {
|
|||
onTextChanged: page.account.name = text
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormComboBoxDelegate {
|
||||
text: i18n("Account type")
|
||||
|
@ -48,8 +45,7 @@ Kirigami.ScrollablePage {
|
|||
onCurrentIndexChanged: page.account.isSapphire = (currentIndex === 1)
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormComboBoxDelegate {
|
||||
id: licenseField
|
||||
|
@ -110,8 +106,7 @@ Kirigami.ScrollablePage {
|
|||
onClicked: lodestoneDialog.open()
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormTextFieldDelegate {
|
||||
label: i18n("Lobby URL")
|
||||
|
@ -133,17 +128,13 @@ Kirigami.ScrollablePage {
|
|||
title: i18n("Login")
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Remember password")
|
||||
checked: page.account.rememberPassword
|
||||
onCheckedChanged: page.account.rememberPassword = checked
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Automatically generate one-time passwords")
|
||||
|
@ -152,8 +143,7 @@ Kirigami.ScrollablePage {
|
|||
enabled: page.account.useOTP
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormButtonDelegate {
|
||||
text: i18n("Enter OTP Secret")
|
||||
|
|
|
@ -19,17 +19,13 @@ MobileForm.FormCard {
|
|||
title: i18n("General")
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Close Astra when game is launched")
|
||||
checked: LauncherCore.closeWhenLaunched
|
||||
onCheckedChanged: LauncherCore.closeWhenLaunched = checked
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Show news banners")
|
||||
|
@ -37,8 +33,7 @@ MobileForm.FormCard {
|
|||
onCheckedChanged: LauncherCore.showNewsBanners = checked
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Show news list")
|
||||
|
|
|
@ -37,16 +37,14 @@ Kirigami.ScrollablePage {
|
|||
onTextChanged: page.profile.name = text
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
FormFolderDelegate {
|
||||
text: i18n("Game Path")
|
||||
folder: page.profile.gamePath
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormComboBoxDelegate {
|
||||
text: i18n("DirectX Version")
|
||||
|
@ -55,8 +53,7 @@ Kirigami.ScrollablePage {
|
|||
onCurrentIndexChanged: page.profile.directx9Enabled = (currentIndex === 1)
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Encrypt Game Arguments")
|
||||
|
@ -65,8 +62,7 @@ Kirigami.ScrollablePage {
|
|||
enabled: false
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Enable Watchdog")
|
||||
|
@ -76,8 +72,7 @@ Kirigami.ScrollablePage {
|
|||
enabled: false
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormTextDelegate {
|
||||
description: page.profile.expansionVersionText
|
||||
|
@ -103,8 +98,7 @@ Kirigami.ScrollablePage {
|
|||
enabled: !LauncherCore.isSteam
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
FormFileDelegate {
|
||||
text: i18n("Wine Path")
|
||||
|
@ -112,8 +106,7 @@ Kirigami.ScrollablePage {
|
|||
enabled: !LauncherCore.isSteam
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
FormFolderDelegate {
|
||||
text: i18n("Wine Prefix Path")
|
||||
|
@ -121,8 +114,7 @@ Kirigami.ScrollablePage {
|
|||
enabled: !LauncherCore.isSteam
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormTextDelegate {
|
||||
description: page.profile.wineVersionText
|
||||
|
@ -147,8 +139,7 @@ Kirigami.ScrollablePage {
|
|||
onCheckedChanged: page.profile.esyncEnabled = checked
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Enable Gamescope")
|
||||
|
@ -157,8 +148,7 @@ Kirigami.ScrollablePage {
|
|||
onCheckedChanged: page.profile.gamescopeEnabled = checked
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormButtonDelegate {
|
||||
text: i18n("Configure Gamescope...")
|
||||
|
@ -203,8 +193,7 @@ Kirigami.ScrollablePage {
|
|||
onClicked: gamescopeSettingsDialog.open()
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Enable Gamemode")
|
||||
|
@ -231,8 +220,7 @@ Kirigami.ScrollablePage {
|
|||
onCheckedChanged: page.profile.dalamudEnabled = checked
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormComboBoxDelegate {
|
||||
text: i18n("Update Channel")
|
||||
|
@ -241,8 +229,7 @@ Kirigami.ScrollablePage {
|
|||
onCurrentIndexChanged: page.profile.dalamudChannel = currentIndex
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormCheckDelegate {
|
||||
text: i18n("Opt Out of Automatic Marketboard Collection")
|
||||
|
@ -250,8 +237,7 @@ Kirigami.ScrollablePage {
|
|||
onCheckedChanged: page.profile.dalamudOptOut = checked
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormTextDelegate {
|
||||
description: page.profile.dalamudVersionText
|
||||
|
|
|
@ -17,8 +17,7 @@ Kirigami.ScrollablePage {
|
|||
ColumnLayout {
|
||||
width: parent.width
|
||||
|
||||
GeneralSettings {
|
||||
}
|
||||
GeneralSettings {}
|
||||
|
||||
MobileForm.FormCard {
|
||||
Layout.topMargin: Kirigami.Units.largeSpacing
|
||||
|
@ -43,8 +42,7 @@ Kirigami.ScrollablePage {
|
|||
}
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormButtonDelegate {
|
||||
text: i18n("Add Profile")
|
||||
|
@ -88,8 +86,7 @@ Kirigami.ScrollablePage {
|
|||
}
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormButtonDelegate {
|
||||
text: i18n("Add Square Enix Account")
|
||||
|
@ -97,8 +94,7 @@ Kirigami.ScrollablePage {
|
|||
onClicked: pageStack.layers.push('qrc:/ui/Setup/AddSquareEnix.qml')
|
||||
}
|
||||
|
||||
MobileForm.FormDelegateSeparator {
|
||||
}
|
||||
MobileForm.FormDelegateSeparator {}
|
||||
|
||||
MobileForm.FormButtonDelegate {
|
||||
text: i18n("Add Sapphire Account")
|
||||
|
|
Loading…
Add table
Reference in a new issue