Add auto update check to Steam Link

This commit is contained in:
Cameron Gutman
2019-12-13 20:15:52 -08:00
parent 4832d8007b
commit 5d872e8b5b
3 changed files with 19 additions and 4 deletions
+5 -1
View File
@@ -245,7 +245,11 @@ ApplicationWindow {
// an update is available
visible: false
onClicked: Qt.openUrlExternally(browserUrl);
onClicked: {
if (SystemProperties.hasBrowser) {
Qt.openUrlExternally(browserUrl);
}
}
function updateAvailable(version, url)
{