author | ar <ar> | 2005-02-18 20:21:32 (UTC) |
---|---|---|
committer | ar <ar> | 2005-02-18 20:21:32 (UTC) |
commit | d8254f2f295b07bdadf6b4b25f0bd125d8121c28 (patch) (side-by-side diff) | |
tree | bc3edde3980b5c568e630ef4418e7508e3d5d374 | |
parent | 03da1c30d7d6c7197a551219e3a36c9a3f469cc8 (diff) | |
download | opie-d8254f2f295b07bdadf6b4b25f0bd125d8121c28.zip opie-d8254f2f295b07bdadf6b4b25f0bd125d8121c28.tar.gz opie-d8254f2f295b07bdadf6b4b25f0bd125d8121c28.tar.bz2 |
- #1570 - Confirmation needed before restore backup and overwrite local data
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -19,2 +19,3 @@ * #1558 - Fixed opie-login breaking opie startup (mickeyl) + * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar) * n.a. - PackageManager - fixed where last package in status file was not shown as installed when it should be (drw) diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index 8928cda..180980a 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp @@ -589,2 +589,7 @@ void BackupAndRestore::restore() + if ( QMessageBox::warning( this, tr( "Restore" ), + tr( "Would you really overwrite your local data?" ), + tr( "Yes" ), tr( "No" ), "", 1 ) == 1 ) + return; + OWait *owait = new OWait(); |