author | zautrix <zautrix> | 2005-04-04 09:34:08 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-04 09:34:08 (UTC) |
commit | 69a388bdef8d4a31063f983735d2b7d25775f3cf (patch) (unidiff) | |
tree | a7b9bfe175a9f396c44b5eee4b9321a1061d3b76 /libkdepim | |
parent | 98db9169fcd69b1d20e6785278312e0d88722435 (diff) | |
download | kdepimpi-69a388bdef8d4a31063f983735d2b7d25775f3cf.zip kdepimpi-69a388bdef8d4a31063f983735d2b7d25775f3cf.tar.gz kdepimpi-69a388bdef8d4a31063f983735d2b7d25775f3cf.tar.bz2 |
fixes
-rw-r--r-- | libkdepim/ksyncmanager.cpp | 16 |
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() | |||
135 | delete temp; | 135 | delete temp; |
136 | } | 136 | } |
137 | mExternSyncProfiles = config.readListEntry("ExternSyncProfiles"); | 137 | mExternSyncProfiles = config.readListEntry("ExternSyncProfiles"); |
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 | } |
146 | QDir app_dir; | 158 | QDir app_dir; |
147 | //US do not display SharpDTM if app is pwmpi, or no sharpfiles available | 159 | //US do not display SharpDTM if app is pwmpi, or no sharpfiles available |
148 | if ( mTargetApp == PWMPI) { | 160 | if ( mTargetApp == PWMPI) { |