Only display help options on platforms with web browsers

This commit is contained in:
Cameron Gutman
2019-03-23 13:51:34 -07:00
parent a3361363e4
commit 03c0be0720
8 changed files with 43 additions and 44 deletions
+5 -4
View File
@@ -50,11 +50,12 @@ Item {
}
}
MessageDialog {
ErrorMessageDialog {
id: errorDialog
modality:Qt.WindowModal
icon: StandardIcon.Critical
standardButtons: StandardButton.Ok
onHelp: {
Qt.openUrlExternally("https://github.com/moonlight-stream/moonlight-docs/wiki/Troubleshooting");
}
onVisibleChanged: {
if (!visible) {