mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 00:06:09 +00:00
Now with notification dialog for attempts to pair while busy
This commit is contained in:
parent
f120197c21
commit
79435b60ff
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user