author | zautrix <zautrix> | 2005-11-28 05:26:47 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-11-28 05:26:47 (UTC) |
commit | c09ac6c4c77ee1ed50cd9d86a6798eebdede3991 (patch) (side-by-side diff) | |
tree | 6cbd88eadaaaf2f31be90eaf11edceae5d81d89e /libkdepim | |
parent | 1267a02fc23575f82247f8bd8449dc70dab62d44 (diff) | |
download | kdepimpi-c09ac6c4c77ee1ed50cd9d86a6798eebdede3991.zip kdepimpi-c09ac6c4c77ee1ed50cd9d86a6798eebdede3991.tar.gz kdepimpi-c09ac6c4c77ee1ed50cd9d86a6798eebdede3991.tar.bz2 |
sync
-rw-r--r-- | libkdepim/ksyncmanager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index 28c48fe..4d859ce 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp @@ -416,17 +416,16 @@ void KSyncManager::enableQuick( bool ask ) } else autoStart = mPrefs->mPassiveSyncAutoStart; if ( autoStart != mPrefs->mPassiveSyncAutoStart ) changed = true; bool ok; mPrefs->mPassiveSyncAutoStart = false; Q_UINT32 port_t = mPrefs->mPassiveSyncPort.toUInt(&ok); - qDebug("%d ", port_t); if ( ! ok || port_t > 65535 ) { KMessageBox::information( 0, i18n("No valid port number:\n%1").arg ( mPrefs->mPassiveSyncPort ), i18n("Pi-Sync Port Error")); return; } Q_UINT16 port = port_t; //qDebug("port %d ", port); mServerSocket = new KServerSocket ( mPrefs->mPassiveSyncPw, port ,1 ); mServerSocket->setFileName( defaultFileName() );//bbb @@ -1307,17 +1306,17 @@ void KServerSocket::newConnection ( int socket ) } void KServerSocket::discardClient() { QTimer::singleShot( 10, this , SLOT ( deleteSocket())); } void KServerSocket::deleteSocket() { - qDebug("KSS::deleteSocket"); + //qDebug("KSS::deleteSocket"); if ( mSocket ) { delete mSocket; mSocket = 0; } if ( mErrorMessage ) QTimer::singleShot( 10, this , SLOT ( displayErrorMessage())); } void KServerSocket::readClient() @@ -1595,17 +1594,17 @@ void KCommandSocket::readFile( QString fn ) mFileString = ""; mFileName = fn; mFirst = true; if ( tlw ) tlw->setCaption( i18n("Trying to connect to remote...") ); mConnectCount = 30;mConnectMax = 30; mTimerSocket->start( 1000, true ); mSocket->connectToHost( mHost, mPort ); - qDebug("KCS: Waiting for connection"); + //qDebug("KCS: Waiting for connection"); } void KCommandSocket::updateConnectDialog() { if ( mConnectCount == mConnectMax ) { //qDebug("MAXX %d", mConnectMax); mConnectProgress.setTotalSteps ( 30 ); mConnectProgress.show(); |