author | zautrix <zautrix> | 2004-10-08 12:32:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-08 12:32:04 (UTC) |
commit | 38e390e51967b34d53e19bd275efd1760572cdfb (patch) (side-by-side diff) | |
tree | 6a740469de2ade16f6e5ff3c3b1ff51a95fb157d /libkdepim/ksyncmanager.cpp | |
parent | 1f050320cfec5fd7d32ff5bb8216780b94d5a56a (diff) | |
download | kdepimpi-38e390e51967b34d53e19bd275efd1760572cdfb.zip kdepimpi-38e390e51967b34d53e19bd275efd1760572cdfb.tar.gz kdepimpi-38e390e51967b34d53e19bd275efd1760572cdfb.tar.bz2 |
changes
-rw-r--r-- | libkdepim/ksyncmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index 0faa24d..08b1a3d 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp @@ -400,49 +400,49 @@ void KSyncManager::multiSync( bool askforPrefs ) setBlockSave(false); if ( num ) emit save(); if ( num ) mParent->topLevelWidget()->setCaption(i18n("%1 profiles synced. Multiple sync complete!").arg(num) ); else mParent->topLevelWidget()->setCaption(i18n("Nothing synced! No profiles defined for multisync!")); return; } int KSyncManager::ringSync() { int syncedProfiles = 0; unsigned int i; QTime timer; KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); QStringList syncProfileNames = mSyncProfileNames; KSyncProfile* temp = new KSyncProfile (); mAskForPreferences = false; for ( i = 0; i < syncProfileNames.count(); ++i ) { mCurrentSyncProfile = i; temp->setName(syncProfileNames[mCurrentSyncProfile]); temp->readConfig(&config); - QString includeInRingSync; + bool includeInRingSync; switch(mTargetApp) { case (KAPI): includeInRingSync = temp->getIncludeInRingSyncAB(); break; case (KOPI): includeInRingSync = temp->getIncludeInRingSync(); break; case (PWMPI): includeInRingSync = temp->getIncludeInRingSyncPWM(); break; default: qDebug("KSyncManager::ringSync: invalid apptype selected"); break; } if ( includeInRingSync && ( i < 1 || i > 2 )) { mParent->topLevelWidget()->setCaption(i18n("Profile ")+syncProfileNames[mCurrentSyncProfile]+ i18n(" is synced ... ")); ++syncedProfiles; // mAskForPreferences = temp->getAskForPreferences(); mWriteBackFile = temp->getWriteBackFile(); mWriteBackExistingOnly = temp->getWriteBackExisting(); |