-rw-r--r-- | libkdepim/ksyncmanager.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index 9177f63..c8d0e0d 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp @@ -74,4 +74,2 @@ KSyncManager::KSyncManager(QWidget* parent, KSyncInterface* implementation, Targ bar->setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); - if ( mPrefs->mPassiveSyncAutoStart ) - enableQuick( false ); @@ -84,2 +82,8 @@ KSyncManager::~KSyncManager() +void KSyncManager::setDefaultFileName( QString s) +{ + mDefFileName = s ; + if ( mPrefs->mPassiveSyncAutoStart ) + enableQuick( false ); +} @@ -414,3 +418,2 @@ void KSyncManager::enableQuick( bool ask ) mServerSocket->setFileName( defaultFileName() );//bbb - //qDebug("connected "); if ( !mServerSocket->ok() ) { @@ -1119,3 +1122,3 @@ KServerSocket:: KServerSocket ( QString pw, Q_UINT16 port, int backlog, QObject blockRC = false; -}; +} |