author | zautrix <zautrix> | 2005-11-28 05:26:47 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-11-28 05:26:47 (UTC) |
commit | c09ac6c4c77ee1ed50cd9d86a6798eebdede3991 (patch) (unidiff) | |
tree | 6cbd88eadaaaf2f31be90eaf11edceae5d81d89e | |
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 | |||
@@ -420,9 +420,8 @@ void KSyncManager::enableQuick( bool ask ) | |||
420 | changed = true; | 420 | changed = true; |
421 | bool ok; | 421 | bool ok; |
422 | mPrefs->mPassiveSyncAutoStart = false; | 422 | mPrefs->mPassiveSyncAutoStart = false; |
423 | Q_UINT32 port_t = mPrefs->mPassiveSyncPort.toUInt(&ok); | 423 | Q_UINT32 port_t = mPrefs->mPassiveSyncPort.toUInt(&ok); |
424 | qDebug("%d ", port_t); | ||
425 | if ( ! ok || port_t > 65535 ) { | 424 | if ( ! ok || port_t > 65535 ) { |
426 | KMessageBox::information( 0, i18n("No valid port number:\n%1").arg ( mPrefs->mPassiveSyncPort ), i18n("Pi-Sync Port Error")); | 425 | KMessageBox::information( 0, i18n("No valid port number:\n%1").arg ( mPrefs->mPassiveSyncPort ), i18n("Pi-Sync Port Error")); |
427 | return; | 426 | return; |
428 | } | 427 | } |
@@ -1311,9 +1310,9 @@ void KServerSocket::discardClient() | |||
1311 | QTimer::singleShot( 10, this , SLOT ( deleteSocket())); | 1310 | QTimer::singleShot( 10, this , SLOT ( deleteSocket())); |
1312 | } | 1311 | } |
1313 | void KServerSocket::deleteSocket() | 1312 | void KServerSocket::deleteSocket() |
1314 | { | 1313 | { |
1315 | qDebug("KSS::deleteSocket"); | 1314 | //qDebug("KSS::deleteSocket"); |
1316 | if ( mSocket ) { | 1315 | if ( mSocket ) { |
1317 | delete mSocket; | 1316 | delete mSocket; |
1318 | mSocket = 0; | 1317 | mSocket = 0; |
1319 | } | 1318 | } |
@@ -1599,9 +1598,9 @@ void KCommandSocket::readFile( QString fn ) | |||
1599 | tlw->setCaption( i18n("Trying to connect to remote...") ); | 1598 | tlw->setCaption( i18n("Trying to connect to remote...") ); |
1600 | mConnectCount = 30;mConnectMax = 30; | 1599 | mConnectCount = 30;mConnectMax = 30; |
1601 | mTimerSocket->start( 1000, true ); | 1600 | mTimerSocket->start( 1000, true ); |
1602 | mSocket->connectToHost( mHost, mPort ); | 1601 | mSocket->connectToHost( mHost, mPort ); |
1603 | qDebug("KCS: Waiting for connection"); | 1602 | //qDebug("KCS: Waiting for connection"); |
1604 | } | 1603 | } |
1605 | void KCommandSocket::updateConnectDialog() | 1604 | void KCommandSocket::updateConnectDialog() |
1606 | { | 1605 | { |
1607 | 1606 | ||