-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) #ifdef DESKTOP_VERSION +#ifdef _WIN32_ + QString command ="kammu --restore " + fileName ; +#else QString command ="./kammu --restore " + fileName ; +#endif #else @@ -139,3 +143,3 @@ bool PhoneAccess::writeToPhone( QString fileName) while ( (ret = system ( command.latin1())) != 0 ) { - qDebug("Error S::command returned %d. asking users", ret); + qDebug("Error S::command returned %d.", ret); int retval = KMessageBox::warningContinueCancel(0, |