author | llornkcor <llornkcor> | 2002-11-14 12:58:48 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-14 12:58:48 (UTC) |
commit | d7d53215cef9420872a4e0f42b547b4148ca33a9 (patch) (unidiff) | |
tree | 32afa92f283c65607fed532e66b7b55d3f748795 | |
parent | d419cd6d7f96341efc16717d68d7f7a0cfc09a80 (diff) | |
download | opie-d7d53215cef9420872a4e0f42b547b4148ca33a9.zip opie-d7d53215cef9420872a4e0f42b547b4148ca33a9.tar.gz opie-d7d53215cef9420872a4e0f42b547b4148ca33a9.tar.bz2 |
no --best option for gzip, buzybox already is set at best
-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index fb892d9..02998f0 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp | |||
@@ -35,13 +35,13 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name) | |||
35 | 35 | ||
36 | systemSettings = new QListViewItem(backupList, "System Settings", "", | 36 | systemSettings = new QListViewItem(backupList, "System Settings", "", |
37 | "/etc"); | 37 | "/etc"); |
38 | selectItem(systemSettings); | 38 | // selectItem(systemSettings); |
39 | applicationSettings = new QListViewItem(backupList, "Application Settings", "", | 39 | applicationSettings = new QListViewItem(backupList, "Application Settings", "", |
40 | QDir::homeDirPath() + "/Settings/"); | 40 | QDir::homeDirPath() + "/Settings/"); |
41 | selectItem(applicationSettings); | 41 | selectItem(applicationSettings); |
42 | documents= new QListViewItem(backupList, "Documents", "", | 42 | documents= new QListViewItem(backupList, "Documents", "", |
43 | QDir::homeDirPath() + "/Documents/"); | 43 | QDir::homeDirPath() + "/Documents/"); |
44 | selectItem(documents); | 44 | // selectItem(documents); |
45 | 45 | ||
46 | scanForApplicationSettings(); | 46 | scanForApplicationSettings(); |
47 | 47 | ||
@@ -178,8 +178,8 @@ void BackupAndRestore::backupPressed(){ | |||
178 | c++; | 178 | c++; |
179 | } | 179 | } |
180 | outputFile += EXTENSION; | 180 | outputFile += EXTENSION; |
181 | 181 | qDebug("system(\"tar -c %1 | gzip > %2\").arg(backupFiles).arg(outputFile).latin1())"); | |
182 | int r = system(QString("tar -c %1 | gzip --best > %2").arg(backupFiles).arg(outputFile).latin1()); | 182 | int r = system(QString("tar -c %1 | gzip > %2").arg(backupFiles).arg(outputFile).latin1() ); |
183 | if(r != 0){ | 183 | if(r != 0){ |
184 | QMessageBox::critical(this, "Message", "Backup Failed.",QString("Ok") ); | 184 | QMessageBox::critical(this, "Message", "Backup Failed.",QString("Ok") ); |
185 | return; | 185 | return; |