Move connection establishment to a separate thread to keep the UI responsive

This commit is contained in:
Cameron Gutman 2020-08-10 22:21:54 -07:00
commit d3949806f5
3 changed files with 81 additions and 79 deletions

View file

@ -64,7 +64,7 @@ Item {
function sessionFinished(portTestResult)
{
if (portTestResult !== 0 && streamSegueErrorDialog.text) {
if (portTestResult !== 0 && portTestResult !== -1 && streamSegueErrorDialog.text) {
streamSegueErrorDialog.text += "\n\nThis PC's Internet connection is blocking Moonlight. Streaming over the Internet may not work while connected to this network."
}