-rw-r--r-- | libkdepim/phoneaccess.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libkdepim/phoneaccess.cpp b/libkdepim/phoneaccess.cpp index 357cd39..fe914dd 100644 --- a/libkdepim/phoneaccess.cpp +++ b/libkdepim/phoneaccess.cpp | |||
@@ -133,3 +133,7 @@ bool PhoneAccess::writeToPhone( QString fileName) | |||
133 | #ifdef DESKTOP_VERSION | 133 | #ifdef DESKTOP_VERSION |
134 | #ifdef _WIN32_ | ||
135 | QString command ="kammu --restore " + fileName ; | ||
136 | #else | ||
134 | QString command ="./kammu --restore " + fileName ; | 137 | QString command ="./kammu --restore " + fileName ; |
138 | #endif | ||
135 | #else | 139 | #else |
@@ -139,3 +143,3 @@ bool PhoneAccess::writeToPhone( QString fileName) | |||
139 | while ( (ret = system ( command.latin1())) != 0 ) { | 143 | while ( (ret = system ( command.latin1())) != 0 ) { |
140 | qDebug("Error S::command returned %d. asking users", ret); | 144 | qDebug("Error S::command returned %d.", ret); |
141 | int retval = KMessageBox::warningContinueCancel(0, | 145 | int retval = KMessageBox::warningContinueCancel(0, |