From 42f22a904fb6440a7b4071b2f4f148bee5f71cc0 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 24 Oct 2004 13:35:47 +0000 Subject: desktop changes --- (limited to 'libkdepim') diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index 554c6e5..4390a06 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp @@ -102,15 +102,17 @@ void KSyncManager::fillSyncMenu() mLocalMachineName = config.readEntry("LocalMachineName","undefined"); 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"); KSyncProfile* temp = new KSyncProfile (); @@ -122,7 +124,7 @@ void KSyncManager::fillSyncMenu() temp->writeConfig(&config); config.setGroup("General"); config.writeEntry("SyncProfileNames",prof); - config.writeEntry("ExternSyncProfiles","Sharp_DTM"); + config.writeEntry("ExternSyncProfiles",externalName); config.sync(); delete temp; } -- cgit v0.9.0.2