Merge branch 'v1.10.1' of github.com:symless/synergy-core into v1.10.1

This commit is contained in:
Nick Bolton 2018-07-28 15:35:22 +01:00
commit 683039c9cc
1 changed files with 8 additions and 0 deletions

View File

@ -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