summaryrefslogtreecommitdiffabout
path: root/libkcal/phoneformat.cpp
Side-by-side diff
Diffstat (limited to 'libkcal/phoneformat.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/phoneformat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/phoneformat.cpp b/libkcal/phoneformat.cpp
index c67dc6a..16c5880 100644
--- a/libkcal/phoneformat.cpp
+++ b/libkcal/phoneformat.cpp
@@ -377,13 +377,13 @@ ulong PhoneFormat::getCsum( const QStringList & attList)
#define DEBUGMODE false
bool PhoneFormat::load( Calendar *calendar, Calendar *existingCal)
{
QString fileName;
#ifdef _WIN32_
- fileName = locateLocal("data", "korganizer") + "\\tempfile.vcs";
+ fileName = locateLocal("tmp", "tempfile.vcs")
#else
fileName = "/tmp/kdepimtemp.vcs";
#endif
#ifdef DESKTOP_VERSION
QString command ="./kammu --backup " + fileName + " -yes" ;
#else
@@ -581,13 +581,13 @@ bool PhoneFormat::save( Calendar *calendar)
status.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h );
status.show();
status.raise();
qApp->processEvents();
QString message;
#ifdef _WIN32_
- QString fileName = locateLocal("data", "korganizer") + "\\tempfile.vcs";
+ QString fileName = locateLocal("tmp", "tempfile.vcs")
#else
QString fileName = "/tmp/kdepimtemp.vcs";
#endif
// 1 remove events which should be deleted
QPtrList<Event> er = calendar->rawEvents();