|
@@ -304,6 +304,7 @@ void SshClient::timerEvent(QTimerEvent *e)
|
|
{
|
|
{
|
|
if(e->timerId() == myConnectionTimerID)
|
|
if(e->timerId() == myConnectionTimerID)
|
|
{
|
|
{
|
|
|
|
+ myApp->print("Timedout while trying to connect to central...\n");
|
|
disconnectFromHost();
|
|
disconnectFromHost();
|
|
emit error(ConnectionTimedOutError);
|
|
emit error(ConnectionTimedOutError);
|
|
return;
|
|
return;
|
|
@@ -311,6 +312,7 @@ void SshClient::timerEvent(QTimerEvent *e)
|
|
|
|
|
|
if(e->timerId() == myPingTimerID)
|
|
if(e->timerId() == myPingTimerID)
|
|
{
|
|
{
|
|
|
|
+ myApp->print("Ping with no pong! Disconnecting from central...\n");
|
|
disconnectFromHost();
|
|
disconnectFromHost();
|
|
emit error(ConnectionTimedOutError);
|
|
emit error(ConnectionTimedOutError);
|
|
return;
|
|
return;
|