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
+3 -4
View File
@@ -64,14 +64,13 @@ Item {
}
}
MessageDialog {
ErrorMessageDialog {
id: errorDialog
modality:Qt.WindowModal
icon: StandardIcon.Critical
standardButtons: StandardButton.Ok | StandardButton.Help
onHelp: {
Qt.openUrlExternally("https://github.com/moonlight-stream/moonlight-docs/wiki/Troubleshooting");
}
onVisibleChanged: {
if (!visible) {
Qt.quit();