summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-01-26 05:28:35 (UTC)
committer kergoth <kergoth>2003-01-26 05:28:35 (UTC)
commit32b223ae83b3af61ecdcdd47d93d2bb852608c20 (patch) (side-by-side diff)
treef93f06b9eab62211b0210d1d9bcae409b0723507
parentc3347d556ea8caf355c17a169070a4c052f266de (diff)
downloadopie-32b223ae83b3af61ecdcdd47d93d2bb852608c20.zip
opie-32b223ae83b3af61ecdcdd47d93d2bb852608c20.tar.gz
opie-32b223ae83b3af61ecdcdd47d93d2bb852608c20.tar.bz2
use an information messagebox rather than critical on success, as pointed out by Ken Bantoft.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/backup/backuprestore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp
index 78d1414..457282a 100644
--- a/noncore/settings/backup/backuprestore.cpp
+++ b/noncore/settings/backup/backuprestore.cpp
@@ -197,25 +197,25 @@ void BackupAndRestore::backupPressed(){
int r = system( QString("tar -c %1 | gzip > %2").arg(backupFiles).arg(outputFile).latin1() );
if(r != 0){
perror("Error: ");
QString errorMsg="Error\n"+(QString)strerror(errno);
QMessageBox::critical(this, "Message", "Backup Failed.\n"+errorMsg, QString("Ok") );
return;
}
else{
- QMessageBox::critical(this, "Message", "Backup Successfull.",QString("Ok") );
+ QMessageBox::information(this, "Message", "Backup Successfull.",QString("Ok") );
}
setCaption(tr("Backup and Restore"));
}
/***
* Get a list of all of the files to backup.
*/
int BackupAndRestore::getBackupFiles(QString &backupFiles, QListViewItem *parent){
QListViewItem * currentItem;
QString currentHome;
if(!parent)