-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index 533d3a5..1ebe912 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp @@ -42,24 +42,27 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name) this, SLOT(restore())); connect(backupList, SIGNAL(clicked( QListViewItem * )), this, SLOT(selectItem(QListViewItem*))); connect(restoreSource, SIGNAL(activated( int )), this, SLOT(sourceDirChanged(int))); systemSettings = new QListViewItem(backupList, "System Settings", "", "/etc"); selectItem(systemSettings); applicationSettings = new QListViewItem(backupList, "Application Settings", "", QDir::homeDirPath() + "/Settings/"); selectItem(applicationSettings); + applicationSettings = new QListViewItem(backupList, "Application Data", "", + QDir::homeDirPath() + "/Applications/"); + selectItem(applicationSettings); documents= new QListViewItem(backupList, "Documents", "", QDir::homeDirPath() + "/Documents/"); selectItem(documents); scanForApplicationSettings(); Config config("BackupAndRestore"); config.setGroup("General"); int totalLocations = config.readNumEntry("totalLocations",0); //todo make less static here and use Storage class to get infos if(totalLocations == 0){ |