summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/phoneformat.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/libkcal/phoneformat.cpp b/libkcal/phoneformat.cpp
index 99d6a06..c67dc6a 100644
--- a/libkcal/phoneformat.cpp
+++ b/libkcal/phoneformat.cpp
@@ -386,3 +386,7 @@ bool PhoneFormat::load( Calendar *calendar, Calendar *existingCal)
#endif
+#ifdef DESKTOP_VERSION
QString command ="./kammu --backup " + fileName + " -yes" ;
+#else
+ QString command ="kammu --backup " + fileName + " -yes" ;
+#endif
int ret = system ( command.latin1() );
@@ -617,3 +621,7 @@ bool PhoneFormat::save( Calendar *calendar)
// 4 call kammu
+#ifdef DESKTOP_VERSION
QString command ="./kammu --restore " + fileName ;
+#else
+ QString command ="kammu --restore " + fileName ;
+#endif
int ret;