author | zautrix <zautrix> | 2004-10-14 10:19:14 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-14 10:19:14 (UTC) |
commit | dddcb44c8428e9054a91eea0c7483ee88ee03452 (patch) (unidiff) | |
tree | 0c6b26192c70f8cfccd00f527f56a39109a11f2d /libkdepim | |
parent | 3d79ab275374292196c7d032ffd2e321841c8cb0 (diff) | |
download | kdepimpi-dddcb44c8428e9054a91eea0c7483ee88ee03452.zip kdepimpi-dddcb44c8428e9054a91eea0c7483ee88ee03452.tar.gz kdepimpi-dddcb44c8428e9054a91eea0c7483ee88ee03452.tar.bz2 |
phone calendar fixes
-rw-r--r-- | libkdepim/phoneaccess.cpp | 2 |
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 | |||
@@ -142,32 +142,32 @@ bool PhoneAccess::writeToPhone( QString fileName) | |||
142 | int ret; | 142 | int ret; |
143 | while ( (ret = system ( command.latin1())) != 0 ) { | 143 | while ( (ret = system ( command.latin1())) != 0 ) { |
144 | qDebug("Error S::command returned %d.", ret); | 144 | qDebug("Error S::command returned %d.", ret); |
145 | int retval = KMessageBox::warningContinueCancel(0, | 145 | int retval = KMessageBox::warningContinueCancel(0, |
146 | i18n("Error accessing device!\nPlease turn on connection\nand retry!"),i18n("KDE/Pim phone access"),i18n("Retry"),i18n("Cancel")); | 146 | i18n("Error accessing device!\nPlease turn on connection\nand retry!"),i18n("KDE/Pim phone access"),i18n("Retry"),i18n("Cancel")); |
147 | if ( retval != KMessageBox::Continue ) | 147 | if ( retval != KMessageBox::Continue ) |
148 | return false; | 148 | return false; |
149 | } | 149 | } |
150 | return true; | 150 | return true; |
151 | } | 151 | } |
152 | bool PhoneAccess::readFromPhone( QString fileName) | 152 | bool 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 | } |