author | zautrix <zautrix> | 2005-08-24 17:20:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-24 17:20:24 (UTC) |
commit | 645ceb7a95dce4716eb87a1b9191d3f3c1657be3 (patch) (unidiff) | |
tree | 674230c364bf35d57143f5e7f14e6a9b7787f581 | |
parent | 2acca9aff5bd651923b5d728712a0fd80b3d54e9 (diff) | |
download | kdepimpi-645ceb7a95dce4716eb87a1b9191d3f3c1657be3.zip kdepimpi-645ceb7a95dce4716eb87a1b9191d3f3c1657be3.tar.gz kdepimpi-645ceb7a95dce4716eb87a1b9191d3f3c1657be3.tar.bz2 |
fixx
-rw-r--r-- | libkdepim/ksyncmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp index 2a75bfb..d71264f 100644 --- a/libkdepim/ksyncmanager.cpp +++ b/libkdepim/ksyncmanager.cpp | |||
@@ -1089,33 +1089,33 @@ QString KSyncManager::syncFileName() | |||
1089 | 1089 | ||
1090 | QString fn = "tempfile"; | 1090 | QString fn = "tempfile"; |
1091 | switch(mTargetApp) | 1091 | switch(mTargetApp) |
1092 | { | 1092 | { |
1093 | case (KAPI): | 1093 | case (KAPI): |
1094 | fn = "tempsyncab.vcf"; | 1094 | fn = "tempsyncab.vcf"; |
1095 | break; | 1095 | break; |
1096 | case (KOPI): | 1096 | case (KOPI): |
1097 | fn = "tempsynccal.ics"; | 1097 | fn = "tempsynccal.ics"; |
1098 | break; | 1098 | break; |
1099 | case (PWMPI): | 1099 | case (PWMPI): |
1100 | fn = "tempsyncpw.pwm"; | 1100 | fn = "tempsyncpw.pwm"; |
1101 | break; | 1101 | break; |
1102 | default: | 1102 | default: |
1103 | break; | 1103 | break; |
1104 | } | 1104 | } |
1105 | #ifdef _WIN32_ | 1105 | #ifdef DESKTOP_VERSION |
1106 | return locateLocal( "tmp", fn ); | 1106 | return locateLocal( "tmp", fn ); |
1107 | #else | 1107 | #else |
1108 | return (QString( "/tmp/" )+ fn ); | 1108 | return (QString( "/tmp/" )+ fn ); |
1109 | #endif | 1109 | #endif |
1110 | } | 1110 | } |
1111 | 1111 | ||
1112 | void KSyncManager::syncPi() | 1112 | void KSyncManager::syncPi() |
1113 | { | 1113 | { |
1114 | mIsKapiFile = true; | 1114 | mIsKapiFile = true; |
1115 | mPisyncFinished = false; | 1115 | mPisyncFinished = false; |
1116 | qApp->processEvents(); | 1116 | qApp->processEvents(); |
1117 | if ( mAskForPreferences ) | 1117 | if ( mAskForPreferences ) |
1118 | if ( !edit_pisync_options()) { | 1118 | if ( !edit_pisync_options()) { |
1119 | mParent->topLevelWidget()->setCaption( i18n("Syncing aborted. Nothing synced.") ); | 1119 | mParent->topLevelWidget()->setCaption( i18n("Syncing aborted. Nothing synced.") ); |
1120 | mPisyncFinished = true; | 1120 | mPisyncFinished = true; |
1121 | return; | 1121 | return; |