From 2cde78ff540e88b0ee799f10b64e9db2920e2b9e Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Sat, 28 Jul 2018 03:11:45 +0100 Subject: [PATCH] #6372 More logging around client disconnect to make TLS state more clear --- src/gui/src/MainWindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index 6fb74948..342fdee8 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -500,6 +500,14 @@ void MainWindow::checkConnected(const QString& line) { setSynergyState(synergyListening); } + else if (line.contains("disconnected from server") || line.contains("process exited")) + { + setSynergyState(synergyDisconnected); + } + else if (line.contains("connecting to")) + { + setSynergyState(synergyConnecting); + } } #ifndef SYNERGY_ENTERPRISE