Add version checking feature

Addresses #305
This commit is contained in:
Kung-vr
2019-11-07 05:18:04 +09:00
parent 43d95d0ece
commit f964241656
5 changed files with 288 additions and 6 deletions
+12
View File
@@ -61,6 +61,14 @@ MyStackViewPage {
}
}
MyToggleButton {
id: disableVersionCheckToggle
text: "Disable Notification of Newer Version Availability"
onCheckedChanged: {
OverlayController.setDisableVersionCheck(checked, true)
}
}
RowLayout {
Layout.fillWidth: true
@@ -200,6 +208,7 @@ MyStackViewPage {
customTickRateMsLabel.visible = vsyncDisabledToggle.checked
debugStateRow.visible = OverlayController.enableDebug
debugStateText.text = OverlayController.debugState
disableVersionCheckToggle.checked = OverlayController.disableVersionCheck
seatedOldExternalWarning.visible = MoveCenterTabController.allowExternalEdits && MoveCenterTabController.oldStyleMotion && MoveCenterTabController.enableSeatedMotion
}
@@ -253,6 +262,9 @@ MyStackViewPage {
onDebugStateChanged: {
debugStateText.text = OverlayController.debugState
}
onDisableVersionCheckChanged: {
disableVersionCheckToggle.checked = OverlayController.disableVersionCheck
}
}
}
}