summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/calendarview.cpp1
-rw-r--r--libkdepim/ksyncprefsdialog.cpp6
2 files changed, 7 insertions, 0 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp
index cbe2a10..53c079c 100644
--- a/korganizer/calendarview.cpp
+++ b/korganizer/calendarview.cpp
@@ -870,2 +870,3 @@ Event* CalendarView::getLastSyncEvent()
}
+// probaly useless
void CalendarView::setupExternSyncProfiles()
diff --git a/libkdepim/ksyncprefsdialog.cpp b/libkdepim/ksyncprefsdialog.cpp
index 59c8418..67a3f52 100644
--- a/libkdepim/ksyncprefsdialog.cpp
+++ b/libkdepim/ksyncprefsdialog.cpp
@@ -570,4 +570,8 @@ void KSyncPrefsDialog::usrWriteConfig()
KSyncProfile* prof = mSyncProfiles.first();
+ QStringList externalSyncProfileNames;
+ externalSyncProfileNames.append("Sharp_DTM");;
while ( prof ) {
prof->writeConfig(&config);
+ if ( prof->getIsPhoneSync( ) )
+ externalSyncProfileNames.append(prof->getName( ) );
prof = mSyncProfiles.next();
@@ -578,3 +582,5 @@ void KSyncPrefsDialog::usrWriteConfig()
config.writeEntry("SyncProfileNames",mSyncProfileNames);
+ config.writeEntry("ExternSyncProfiles",externalSyncProfileNames);
config.writeEntry("LocalMachineName",mMyMachineName->text());
+ config.sync();
}