summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-08-24 17:20:24 (UTC)
committer zautrix <zautrix>2005-08-24 17:20:24 (UTC)
commit645ceb7a95dce4716eb87a1b9191d3f3c1657be3 (patch) (side-by-side diff)
tree674230c364bf35d57143f5e7f14e6a9b7787f581
parent2acca9aff5bd651923b5d728712a0fd80b3d54e9 (diff)
downloadkdepimpi-645ceb7a95dce4716eb87a1b9191d3f3c1657be3.zip
kdepimpi-645ceb7a95dce4716eb87a1b9191d3f3c1657be3.tar.gz
kdepimpi-645ceb7a95dce4716eb87a1b9191d3f3c1657be3.tar.bz2
fixx
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.cpp2
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()
QString fn = "tempfile";
switch(mTargetApp)
{
case (KAPI):
fn = "tempsyncab.vcf";
break;
case (KOPI):
fn = "tempsynccal.ics";
break;
case (PWMPI):
fn = "tempsyncpw.pwm";
break;
default:
break;
}
-#ifdef _WIN32_
+#ifdef DESKTOP_VERSION
return locateLocal( "tmp", fn );
#else
return (QString( "/tmp/" )+ fn );
#endif
}
void KSyncManager::syncPi()
{
mIsKapiFile = true;
mPisyncFinished = false;
qApp->processEvents();
if ( mAskForPreferences )
if ( !edit_pisync_options()) {
mParent->topLevelWidget()->setCaption( i18n("Syncing aborted. Nothing synced.") );
mPisyncFinished = true;
return;