summaryrefslogtreecommitdiffabout
path: root/libkdepim
authorzautrix <zautrix>2005-04-04 09:34:08 (UTC)
committer zautrix <zautrix>2005-04-04 09:34:08 (UTC)
commit69a388bdef8d4a31063f983735d2b7d25775f3cf (patch) (side-by-side diff)
treea7b9bfe175a9f396c44b5eee4b9321a1061d3b76 /libkdepim
parent98db9169fcd69b1d20e6785278312e0d88722435 (diff)
downloadkdepimpi-69a388bdef8d4a31063f983735d2b7d25775f3cf.zip
kdepimpi-69a388bdef8d4a31063f983735d2b7d25775f3cf.tar.gz
kdepimpi-69a388bdef8d4a31063f983735d2b7d25775f3cf.tar.bz2
fixes
Diffstat (limited to 'libkdepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp
index 85a2aeb..db815d6 100644
--- a/libkdepim/ksyncmanager.cpp
+++ b/libkdepim/ksyncmanager.cpp
@@ -135,14 +135,26 @@ void KSyncManager::fillSyncMenu()
delete temp;
}
mExternSyncProfiles = config.readListEntry("ExternSyncProfiles");
mSyncProfileNames = prof;
unsigned int i;
for ( i = 0; i < prof.count(); ++i ) {
- mSyncMenu->insertItem( prof[i], 1000+i );
- clearMenu->insertItem( prof[i], 1000+i );
+ QString insertText = prof[i];
+ if ( i == 0 ) {
+#ifdef DESKTOP_VERSION
+#ifdef _WIN32_
+ insertText = "OutLook(not_implemented)";
+#else
+ insertText = "KDE_Desktop";
+#endif
+#else
+ insertText = "Sharp_DTM";
+#endif
+ }
+ mSyncMenu->insertItem( insertText, 1000+i );
+ clearMenu->insertItem( insertText, 1000+i );
if ( i == 2 )
mSyncMenu->insertSeparator();
}
QDir app_dir;
//US do not display SharpDTM if app is pwmpi, or no sharpfiles available
if ( mTargetApp == PWMPI) {