Mihawk пре 12 година
родитељ
комит
2519333afe
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      SshClient.cpp

+ 2 - 0
SshClient.cpp

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