summaryrefslogtreecommitdiffabout
path: root/libkdepim
Unidiff
Diffstat (limited to 'libkdepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/phoneaccess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/phoneaccess.cpp b/libkdepim/phoneaccess.cpp
index 5fafa1f..8298aa6 100644
--- a/libkdepim/phoneaccess.cpp
+++ b/libkdepim/phoneaccess.cpp
@@ -150,24 +150,24 @@ bool PhoneAccess::writeToPhone( QString fileName)
150 return true; 150 return true;
151} 151}
152bool PhoneAccess::readFromPhone( QString fileName) 152bool PhoneAccess::readFromPhone( QString fileName)
153{ 153{
154 154
155#ifdef DESKTOP_VERSION 155#ifdef DESKTOP_VERSION
156#ifdef _WIN32_ 156#ifdef _WIN32_
157 QString command ="kammu --backup " + fileName + " -yes" ; 157 QString command ="kammu --backup " + fileName + " -yes" ;
158#else 158#else
159 QString command ="./kammu --backup " + fileName + " -yes" ; 159 QString command ="./kammu --backup " + fileName + " -yes" ;
160#endif 160#endif
161#else 161#else
162 QString command ="kammu --backup " + fileName + " -yes" ; 162 QString command ="kammu --backup " + fileName + " -yes" ;
163#endif 163#endif
164 int ret; 164 int ret;
165 while ( (ret = system ( command.latin1())) != 0 ) { 165 while ( (ret = system ( command.latin1())) != 0 ) {
166 qDebug("Error S::command returned %d.", ret); 166 qDebug("Error reading from phone:Command returned %d", ret);
167 int retval = KMessageBox::warningContinueCancel(0, 167 int retval = KMessageBox::warningContinueCancel(0,
168 i18n("Error accessing device!\nPlease turn on connection\nand retry!"),i18n("KDE/Pim phone access"),i18n("Retry"),i18n("Cancel")); 168 i18n("Error accessing device!\nPlease turn on connection\nand retry!"),i18n("KDE/Pim phone access"),i18n("Retry"),i18n("Cancel"));
169 if ( retval != KMessageBox::Continue ) 169 if ( retval != KMessageBox::Continue )
170 return false; 170 return false;
171 } 171 }
172 return true; 172 return true;
173} 173}