summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncmanager.cpp
Side-by-side diff
Diffstat (limited to 'libkdepim/ksyncmanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp
index 554c6e5..4390a06 100644
--- a/libkdepim/ksyncmanager.cpp
+++ b/libkdepim/ksyncmanager.cpp
@@ -103,13 +103,15 @@ void KSyncManager::fillSyncMenu()
if ( prof.count() < 2 ) {
prof.clear();
+ QString externalName;
#ifdef DESKTOP_VERSION
#ifdef _WIN32_
- prof << i18n("OutLook(not_implemented)");
+ externalName = "OutLook(not_implemented)";
#else
- prof << i18n("KDE_Desktop");
+ externalName = "KDE_Desktop";
#endif
#else
- prof << i18n("Sharp_DTM");
+ externalName = "Sharp_DTM";
#endif
+ prof << externalName;
prof << i18n("Local_file");
prof << i18n("Last_file");
@@ -123,5 +125,5 @@ void KSyncManager::fillSyncMenu()
config.setGroup("General");
config.writeEntry("SyncProfileNames",prof);
- config.writeEntry("ExternSyncProfiles","Sharp_DTM");
+ config.writeEntry("ExternSyncProfiles",externalName);
config.sync();
delete temp;