From 91e43b55a0ddf6a6f39f4ed3ae828ddad6ec89a5 Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 07 Oct 2004 23:26:31 +0000 Subject: sync fixes --- (limited to 'libkdepim/ksyncmanager.cpp') diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index 01309d5..b3e266a 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp @@ -1157,7 +1157,6 @@ void KCommandSocket::deleteSocket() { if ( mTimerSocket->isActive () ) { mTimerSocket->stop(); - KMessageBox::information( 0, i18n("ERROR:\nConnection to remote host timed out!\nDid you forgot to enable\nsyncing on remote host? ")); mRetVal = errorTO; if ( mSocket ) { mSocket->close(); @@ -1170,5 +1169,8 @@ void KCommandSocket::deleteSocket() if ( mSocket) delete mSocket; mSocket = 0; + if ( mRetVal == errorTO) + KMessageBox::information( 0, i18n("ERROR:\nConnection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host? ")); + emit commandFinished( this, mRetVal ); } -- cgit v0.9.0.2