#6372 More logging around client disconnect to make TLS state more clear

This commit is contained in:
Nick Bolton 2018-07-28 03:11:45 +01:00
parent 5f3dce8379
commit 2cde78ff54
1 changed files with 8 additions and 0 deletions

View File

@ -500,6 +500,14 @@ void MainWindow::checkConnected(const QString& line)
{ {
setSynergyState(synergyListening); 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 #ifndef SYNERGY_ENTERPRISE