summaryrefslogtreecommitdiff
authorhrw <hrw>2005-10-16 19:00:43 (UTC)
committer hrw <hrw>2005-10-16 19:00:43 (UTC)
commit965a373e7685c8ae2cfc9955efe20424aa95e10c (patch) (unidiff)
tree2ff27d09825648d8c7b1bb5795de5bf9beb6bb55
parent611de84768e4825d6851dc833bd6402efd572383 (diff)
downloadopie-965a373e7685c8ae2cfc9955efe20424aa95e10c.zip
opie-965a373e7685c8ae2cfc9955efe20424aa95e10c.tar.gz
opie-965a373e7685c8ae2cfc9955efe20424aa95e10c.tar.bz2
fixed bug #1492 - Backup and Restore does not show list of backups to restore on start
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog1
-rw-r--r--noncore/settings/backup/backuprestore.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 53a498d..85a26bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,24 +1,25 @@
1 2005-??-??Opie 1.2.2 1 2005-??-??Opie 1.2.2
2 2
3 3
4 New Features 4 New Features
5 ------------ 5 ------------
6 6
7 7
8 Fixed Bugs 8 Fixed Bugs
9 ---------- 9 ----------
10 * #1695 - Date selector use too small fontsize on VGA screen (hrw) 10 * #1695 - Date selector use too small fontsize on VGA screen (hrw)
11 * #1686 - opie-console lack UI setting for switching scrollbar (hrw) 11 * #1686 - opie-console lack UI setting for switching scrollbar (hrw)
12 * #1624 - Button settngs changes are applied only after restart (hrw) 12 * #1624 - Button settngs changes are applied only after restart (hrw)
13 * #1492 - Backup and Restore does not show list of backups to restore on start (hrw)
13 * n.a. - remove hardcoded font size from wellenreiter (hrw) 14 * n.a. - remove hardcoded font size from wellenreiter (hrw)
14 * n.a. - added patch to build QT/E 2.3.10 with gc 4.x.x (hrw) 15 * n.a. - added patch to build QT/E 2.3.10 with gc 4.x.x (hrw)
15 16
16 2005-09-11Opie 1.2.1 17 2005-09-11Opie 1.2.1
17 18
18 19
19 New Features 20 New Features
20 ------------ 21 ------------
21 * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker) 22 * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker)
22 * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly) 23 * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly)
23 * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer) 24 * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer)
24 * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl) 25 * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl)
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp
index eadfb63..711dab3 100644
--- a/noncore/settings/backup/backuprestore.cpp
+++ b/noncore/settings/backup/backuprestore.cpp
@@ -93,24 +93,25 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name, WFlags f
93 93
94 //add directorys for backing up 94 //add directorys for backing up
95 applicationSettings = new QListViewItem(backupList, "Application Settings", "", "Settings/"); 95 applicationSettings = new QListViewItem(backupList, "Application Settings", "", "Settings/");
96 selectItem(applicationSettings); 96 selectItem(applicationSettings);
97 applicationSettings = new QListViewItem(backupList, "Application Data", "", "Applications/"); 97 applicationSettings = new QListViewItem(backupList, "Application Data", "", "Applications/");
98 selectItem(applicationSettings); 98 selectItem(applicationSettings);
99 documents= new QListViewItem(backupList, "Documents", "", "Documents/"); 99 documents= new QListViewItem(backupList, "Documents", "", "Documents/");
100 selectItem(documents); 100 selectItem(documents);
101 101
102 scanForApplicationSettings(); 102 scanForApplicationSettings();
103 refreshLocations(); 103 refreshLocations();
104 refreshBackupLocations(); 104 refreshBackupLocations();
105 sourceDirChanged(restoreSource->currentItem());
105 106
106 // Read the list of items to ignore. 107 // Read the list of items to ignore.
107 QList<QString> dontBackupList; 108 QList<QString> dontBackupList;
108 dontBackupList.setAutoDelete(true); 109 dontBackupList.setAutoDelete(true);
109 Config config("BackupAndRestore"); 110 Config config("BackupAndRestore");
110 config.setGroup("DontBackup"); 111 config.setGroup("DontBackup");
111 int total = config.readNumEntry("Total", 0); 112 int total = config.readNumEntry("Total", 0);
112 for(int i = 0; i < total; i++) 113 for(int i = 0; i < total; i++)
113 { 114 {
114 dontBackupList.append(new QString(config.readEntry(QString("%1").arg(i), ""))); 115 dontBackupList.append(new QString(config.readEntry(QString("%1").arg(i), "")));
115 } 116 }
116 117