-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 | |||
@@ -408,33 +408,33 @@ void KSyncManager::multiSync( bool askforPrefs ) | |||
408 | } | 408 | } |
409 | 409 | ||
410 | int KSyncManager::ringSync() | 410 | int KSyncManager::ringSync() |
411 | { | 411 | { |
412 | int syncedProfiles = 0; | 412 | int syncedProfiles = 0; |
413 | unsigned int i; | 413 | unsigned int i; |
414 | QTime timer; | 414 | QTime timer; |
415 | KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); | 415 | KConfig config ( locateLocal( "config","ksyncprofilesrc" ) ); |
416 | QStringList syncProfileNames = mSyncProfileNames; | 416 | QStringList syncProfileNames = mSyncProfileNames; |
417 | KSyncProfile* temp = new KSyncProfile (); | 417 | KSyncProfile* temp = new KSyncProfile (); |
418 | mAskForPreferences = false; | 418 | mAskForPreferences = false; |
419 | for ( i = 0; i < syncProfileNames.count(); ++i ) { | 419 | for ( i = 0; i < syncProfileNames.count(); ++i ) { |
420 | mCurrentSyncProfile = i; | 420 | mCurrentSyncProfile = i; |
421 | temp->setName(syncProfileNames[mCurrentSyncProfile]); | 421 | temp->setName(syncProfileNames[mCurrentSyncProfile]); |
422 | temp->readConfig(&config); | 422 | temp->readConfig(&config); |
423 | 423 | ||
424 | QString includeInRingSync; | 424 | bool includeInRingSync; |
425 | switch(mTargetApp) | 425 | switch(mTargetApp) |
426 | { | 426 | { |
427 | case (KAPI): | 427 | case (KAPI): |
428 | includeInRingSync = temp->getIncludeInRingSyncAB(); | 428 | includeInRingSync = temp->getIncludeInRingSyncAB(); |
429 | break; | 429 | break; |
430 | case (KOPI): | 430 | case (KOPI): |
431 | includeInRingSync = temp->getIncludeInRingSync(); | 431 | includeInRingSync = temp->getIncludeInRingSync(); |
432 | break; | 432 | break; |
433 | case (PWMPI): | 433 | case (PWMPI): |
434 | includeInRingSync = temp->getIncludeInRingSyncPWM(); | 434 | includeInRingSync = temp->getIncludeInRingSyncPWM(); |
435 | break; | 435 | break; |
436 | default: | 436 | default: |
437 | qDebug("KSyncManager::ringSync: invalid apptype selected"); | 437 | qDebug("KSyncManager::ringSync: invalid apptype selected"); |
438 | break; | 438 | break; |
439 | 439 | ||
440 | } | 440 | } |