From 6962c02f4f1b83a1367883fcdee6c54e245283fd Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 18 Oct 2015 16:18:43 +0300 Subject: [PATCH] Go back to ConnectPage if connection to the server is lost --- remote/qml/pages/BrowsePage.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/remote/qml/pages/BrowsePage.qml b/remote/qml/pages/BrowsePage.qml index 2a3a123..74758a6 100644 --- a/remote/qml/pages/BrowsePage.qml +++ b/remote/qml/pages/BrowsePage.qml @@ -99,6 +99,16 @@ Page browseDirectory.directory = defaultLocation.value; } + Connections + { + target: xinemaControl + onConnectedChanged: + { + if(!xinemaControl.connected) + pageStack.replace("ConnectPage.qml"); + } + } + StreamControl { id: streamControl -- 2.45.2