Move application configuration in settings
This commit is contained in:
+2
-24
@@ -338,28 +338,8 @@ Kirigami.ApplicationWindow {
|
|||||||
Kirigami.Separator {
|
Kirigami.Separator {
|
||||||
Layout.columnSpan: 2
|
Layout.columnSpan: 2
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
opacity: root.server_started
|
opacity: steam_info.opacity
|
||||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
visible: steam_info.visible
|
||||||
}
|
|
||||||
|
|
||||||
Kirigami.Heading {
|
|
||||||
level: 1
|
|
||||||
wrapMode: Text.WordWrap
|
|
||||||
text: i18nc("automatically started application", "Application")
|
|
||||||
opacity: root.server_started
|
|
||||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
|
||||||
}
|
|
||||||
|
|
||||||
SelectGame {
|
|
||||||
id: select_game
|
|
||||||
opacity: root.server_started
|
|
||||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
|
||||||
}
|
|
||||||
|
|
||||||
Kirigami.Separator {
|
|
||||||
Layout.columnSpan: 2
|
|
||||||
Layout.fillWidth: true
|
|
||||||
opacity: root.server_started
|
|
||||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
Layout.maximumHeight: root.server_started ? -1 : 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -429,6 +409,4 @@ Kirigami.ApplicationWindow {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
pageStack.onCurrentItemChanged: select_game.reload()
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -84,6 +84,14 @@ Kirigami.ScrollablePage {
|
|||||||
Kirigami.FormData.isSection: true
|
Kirigami.FormData.isSection: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SelectGame {
|
||||||
|
Kirigami.FormData.label: i18n("Autostart application:")
|
||||||
|
}
|
||||||
|
|
||||||
|
Kirigami.Separator {
|
||||||
|
Kirigami.FormData.isSection: true
|
||||||
|
}
|
||||||
|
|
||||||
Kirigami.Heading {
|
Kirigami.Heading {
|
||||||
text: i18n("Advanced options")
|
text: i18n("Advanced options")
|
||||||
level: 1
|
level: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user