author | zautrix <zautrix> | 2005-04-22 09:02:00 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-22 09:02:00 (UTC) |
commit | 86518702ea6efc14992580a7fc6c089905cfb716 (patch) (unidiff) | |
tree | 29ba7c61bd1948a0eb1155d1f4f06f48aeaadd9f /microkde/kapplication.cpp | |
parent | abf935a18e55fcbe221d5a7c652840af279e2e3f (diff) | |
download | kdepimpi-86518702ea6efc14992580a7fc6c089905cfb716.zip kdepimpi-86518702ea6efc14992580a7fc6c089905cfb716.tar.gz kdepimpi-86518702ea6efc14992580a7fc6c089905cfb716.tar.bz2 |
fixes
-rw-r--r-- | microkde/kapplication.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp index 566bb41..2c9e3b6 100644 --- a/microkde/kapplication.cpp +++ b/microkde/kapplication.cpp | |||
@@ -172,3 +172,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup ) | |||
172 | int ret = 3; | 172 | int ret = 3; |
173 | qDebug("KApplication::createBackup %s --- %s --- %d", fn.latin1(), dp.latin1(), numBup); | 173 | //qDebug("KApplication::createBackup %s --- %s --- %d", fn.latin1(), dp.latin1(), numBup); |
174 | QDir bupDir ( dp ); | 174 | QDir bupDir ( dp ); |
@@ -202,3 +202,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup ) | |||
202 | } | 202 | } |
203 | qDebug("%d backup files exist ", fileList.count()); | 203 | qDebug("KApp: %d backup files exist ", fileList.count()); |
204 | int count = fileList.count(); | 204 | int count = fileList.count(); |
@@ -217,3 +217,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup ) | |||
217 | file += fName ; | 217 | file += fName ; |
218 | file = dp + "/"+file; | 218 | file = dp + file; |
219 | QString command; | 219 | QString command; |
@@ -221,4 +221,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup ) | |||
221 | #ifdef _WIN32_ | 221 | #ifdef _WIN32_ |
222 | command = "xcopy "+ fn+ " "+file; | 222 | command = "copy \""+ QDir::convertSeparators( fn)+ "\" \""+QDir::convertSeparators(file)+ "\" "; |
223 | command = QDir::convertSeparators( command ); | ||
224 | #else | 223 | #else |
@@ -226,3 +225,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup ) | |||
226 | #endif | 225 | #endif |
227 | qDebug("command %s ",command.latin1() ); | 226 | //qDebug("command %s ",command.latin1() ); |
228 | tryAgain = true; | 227 | tryAgain = true; |
@@ -230,3 +229,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup ) | |||
230 | res = system ( command.latin1() ); | 229 | res = system ( command.latin1() ); |
231 | qDebug("copy result %d ", res); | 230 | qDebug("KApp: Copy result %d ", res); |
232 | if ( res != 0 ) { | 231 | if ( res != 0 ) { |