Remove autostart application from wizard
This commit is contained in:
@@ -248,70 +248,6 @@ Kirigami.ScrollablePage {
|
||||
|
||||
// image: Qt.resolvedUrl("wivrn.svg")
|
||||
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Back")
|
||||
icon.name: "go-previous"
|
||||
onTriggered: pageStack.goBack()
|
||||
},
|
||||
Kirigami.Action {
|
||||
text: i18n("Next")
|
||||
icon.name: "go-next"
|
||||
onTriggered: pageStack.push(page_selectgame_component.createObject(pageStack))
|
||||
},
|
||||
Kirigami.Action {
|
||||
text: i18n("Cancel")
|
||||
onTriggered: wizard.cancel()
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: page_selectgame_component
|
||||
|
||||
WizardStep {
|
||||
id: page_selectgame
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 1.35
|
||||
text: i18n("Select the application you want to start")
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
text: i18n("The application you choose will be started automatically when you connect your headset.")
|
||||
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
|
||||
}
|
||||
|
||||
SelectGame {}
|
||||
|
||||
SteamLaunchOptions {
|
||||
visible: WivrnServer.steamCommand != ""
|
||||
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 1.35
|
||||
text: i18n("Important information")
|
||||
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
text: i18n("WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is running.")
|
||||
}
|
||||
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
actions: [
|
||||
Kirigami.Action {
|
||||
text: i18n("Back")
|
||||
@@ -352,11 +288,30 @@ Kirigami.ScrollablePage {
|
||||
pageStack.push(page_connected_component.createObject(pageStack));
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 1.35
|
||||
text: i18n("Important information")
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
text: i18n("WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is running.")
|
||||
}
|
||||
|
||||
SteamLaunchOptions {
|
||||
visible: WivrnServer.steamCommand != ""
|
||||
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
|
||||
}
|
||||
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
wrapMode: Text.WordWrap
|
||||
font.pointSize: Kirigami.Theme.defaultFont.pointSize * 1.35
|
||||
text: i18n("Start the WiVRn app on your headset")
|
||||
Layout.topMargin: 2 * Kirigami.Units.largeSpacing
|
||||
}
|
||||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
|
||||
Reference in New Issue
Block a user