summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncmanager.cpp
Unidiff
Diffstat (limited to 'libkdepim/ksyncmanager.cpp') (more/less context) (show 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
@@ -138,8 +138,20 @@ void KSyncManager::fillSyncMenu()
138 mSyncProfileNames = prof; 138 mSyncProfileNames = prof;
139 unsigned int i; 139 unsigned int i;
140 for ( i = 0; i < prof.count(); ++i ) { 140 for ( i = 0; i < prof.count(); ++i ) {
141 mSyncMenu->insertItem( prof[i], 1000+i ); 141 QString insertText = prof[i];
142 clearMenu->insertItem( prof[i], 1000+i ); 142 if ( i == 0 ) {
143#ifdef DESKTOP_VERSION
144#ifdef _WIN32_
145 insertText = "OutLook(not_implemented)";
146#else
147 insertText = "KDE_Desktop";
148#endif
149#else
150 insertText = "Sharp_DTM";
151#endif
152 }
153 mSyncMenu->insertItem( insertText, 1000+i );
154 clearMenu->insertItem( insertText, 1000+i );
143 if ( i == 2 ) 155 if ( i == 2 )
144 mSyncMenu->insertSeparator(); 156 mSyncMenu->insertSeparator();
145 } 157 }