Now with notification dialog for attempts to pair while busy

This commit is contained in:
R. Aidan Campbell 2018-07-05 20:49:10 -07:00
parent f120197c21
commit 79435b60ff

View File

@ -100,7 +100,8 @@ GridView {
pairDialog.open() pairDialog.open()
} }
else { else {
// TODO: error dialog // cannot pair while something is streaming or attempting to pair
pairingFailedDialog.open()
} }
} }
} }
@ -111,6 +112,15 @@ GridView {
} }
} }
MessageDialog {
id: pairingFailedDialog
// don't allow edits to the rest of the window while open
modality:Qt.WindowModal
text:"This PC is busy: make sure no game is streaming, and try again"
standardButtons: Dialog.OK
}
MessageDialog { MessageDialog {
id: pairDialog id: pairDialog
// don't allow edits to the rest of the window while open // don't allow edits to the rest of the window while open