summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-11-28 05:26:47 (UTC)
committer zautrix <zautrix>2005-11-28 05:26:47 (UTC)
commitc09ac6c4c77ee1ed50cd9d86a6798eebdede3991 (patch) (side-by-side diff)
tree6cbd88eadaaaf2f31be90eaf11edceae5d81d89e
parent1267a02fc23575f82247f8bd8449dc70dab62d44 (diff)
downloadkdepimpi-c09ac6c4c77ee1ed50cd9d86a6798eebdede3991.zip
kdepimpi-c09ac6c4c77ee1ed50cd9d86a6798eebdede3991.tar.gz
kdepimpi-c09ac6c4c77ee1ed50cd9d86a6798eebdede3991.tar.bz2
sync
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.cpp5
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
@@ -418,13 +418,12 @@ void KSyncManager::enableQuick( bool ask )
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);
@@ -1309,13 +1308,13 @@ 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()));
@@ -1597,13 +1596,13 @@ void KCommandSocket::readFile( QString 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);