-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 2 |
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 @@ -193,33 +193,33 @@ void BackupAndRestore::backupPressed(){ qDebug(QString("system(\"tar -c %1 | gzip > %2\")").arg(backupFiles).arg(outputFile).latin1()); outputFile += EXTENSION; 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) currentItem = backupList->firstChild(); else{ currentItem = parent->firstChild(); currentHome = parent->text(BACKUP_LOCATION); |