summaryrefslogtreecommitdiffabout
path: root/microkde
authorzautrix <zautrix>2005-04-22 09:02:00 (UTC)
committer zautrix <zautrix>2005-04-22 09:02:00 (UTC)
commit86518702ea6efc14992580a7fc6c089905cfb716 (patch) (side-by-side diff)
tree29ba7c61bd1948a0eb1155d1f4f06f48aeaadd9f /microkde
parentabf935a18e55fcbe221d5a7c652840af279e2e3f (diff)
downloadkdepimpi-86518702ea6efc14992580a7fc6c089905cfb716.zip
kdepimpi-86518702ea6efc14992580a7fc6c089905cfb716.tar.gz
kdepimpi-86518702ea6efc14992580a7fc6c089905cfb716.tar.bz2
fixes
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kapplication.cpp13
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 )
int ret = 3;
- qDebug("KApplication::createBackup %s --- %s --- %d", fn.latin1(), dp.latin1(), numBup);
+ //qDebug("KApplication::createBackup %s --- %s --- %d", fn.latin1(), dp.latin1(), numBup);
QDir bupDir ( dp );
@@ -202,3 +202,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup )
}
- qDebug("%d backup files exist ", fileList.count());
+ qDebug("KApp: %d backup files exist ", fileList.count());
int count = fileList.count();
@@ -217,3 +217,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup )
file += fName ;
- file = dp + "/"+file;
+ file = dp + file;
QString command;
@@ -221,4 +221,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup )
#ifdef _WIN32_
- command = "xcopy "+ fn+ " "+file;
- command = QDir::convertSeparators( command );
+ command = "copy \""+ QDir::convertSeparators( fn)+ "\" \""+QDir::convertSeparators(file)+ "\" ";
#else
@@ -226,3 +225,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup )
#endif
- qDebug("command %s ",command.latin1() );
+ //qDebug("command %s ",command.latin1() );
tryAgain = true;
@@ -230,3 +229,3 @@ int KApplication::createBackup( QString fn, QString dp, int numBup )
res = system ( command.latin1() );
- qDebug("copy result %d ", res);
+ qDebug("KApp: Copy result %d ", res);
if ( res != 0 ) {