author | ar <ar> | 2005-02-01 19:54:57 (UTC) |
---|---|---|
committer | ar <ar> | 2005-02-01 19:54:57 (UTC) |
commit | 62aad63f824740f15357c28e6bb61fbdf2120585 (patch) (side-by-side diff) | |
tree | 079a6f219f8eed3743414b64b68e45d7003a08d7 /noncore/settings/backup/backuprestore.cpp | |
parent | 17a8d1d5d2d9ec7a5e09da00e055d566fbd85353 (diff) | |
download | opie-62aad63f824740f15357c28e6bb61fbdf2120585.zip opie-62aad63f824740f15357c28e6bb61fbdf2120585.tar.gz opie-62aad63f824740f15357c28e6bb61fbdf2120585.tar.bz2 |
- fix bug #1536
custom locations are stored and removed immadiately after add and remove in location list.
Diffstat (limited to 'noncore/settings/backup/backuprestore.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index d028379..8928cda 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp @@ -87,7 +87,6 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f connect( restoreSource, SIGNAL( activated( int ) ), this, SLOT( sourceDirChanged( int ) ) ); connect( addLocationButton, SIGNAL( clicked() ), this, SLOT( addLocation() ) ); connect( removeLocationButton, SIGNAL( clicked() ), this, SLOT( removeLocation() ) ); - connect( saveLocationsButton, SIGNAL( clicked() ), this, SLOT( saveLocations() ) ); connect( selectLocationButton, SIGNAL( clicked() ), this, SLOT( selectLocation() ) ); //add directorys for backing up @@ -727,6 +726,7 @@ void BackupAndRestore::addLocation() { (void) new QListViewItem( locationList, locationEdit->text() ); locationEdit->setText( "" ); + saveLocations(); } } @@ -735,6 +735,7 @@ void BackupAndRestore::removeLocation() if ( locationList->selectedItem() ) { delete( locationList->selectedItem() ); + saveLocations(); } } |