author | llornkcor <llornkcor> | 2002-11-14 22:37:11 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-14 22:37:11 (UTC) |
commit | 3f1d60609657ea69bda453f5c820a23ee5375ab8 (patch) (unidiff) | |
tree | 7880d0d76f7ad9edca347783533aba88f977e947 /noncore/settings/backup/backuprestore.cpp | |
parent | 4b28f45cd1f6a72f41219786c7fb411523a6d622 (diff) | |
download | opie-3f1d60609657ea69bda453f5c820a23ee5375ab8.zip opie-3f1d60609657ea69bda453f5c820a23ee5375ab8.tar.gz opie-3f1d60609657ea69bda453f5c820a23ee5375ab8.tar.bz2 |
fix icon path
Diffstat (limited to 'noncore/settings/backup/backuprestore.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp index 7a1f0dd..533d3a5 100644 --- a/noncore/settings/backup/backuprestore.cpp +++ b/noncore/settings/backup/backuprestore.cpp | |||
@@ -47,13 +47,13 @@ BackupAndRestore::BackupAndRestore( QWidget* parent, const char* name) | |||
47 | 47 | ||
48 | systemSettings = new QListViewItem(backupList, "System Settings", "", | 48 | systemSettings = new QListViewItem(backupList, "System Settings", "", |
49 | "/etc"); | 49 | "/etc"); |
50 | // selectItem(systemSettings); | 50 | selectItem(systemSettings); |
51 | applicationSettings = new QListViewItem(backupList, "Application Settings", "", | 51 | applicationSettings = new QListViewItem(backupList, "Application Settings", "", |
52 | QDir::homeDirPath() + "/Settings/"); | 52 | QDir::homeDirPath() + "/Settings/"); |
53 | selectItem(applicationSettings); | 53 | selectItem(applicationSettings); |
54 | documents= new QListViewItem(backupList, "Documents", "", | 54 | documents= new QListViewItem(backupList, "Documents", "", |
55 | QDir::homeDirPath() + "/Documents/"); | 55 | QDir::homeDirPath() + "/Documents/"); |
56 | // selectItem(documents); | 56 | selectItem(documents); |
57 | 57 | ||
58 | scanForApplicationSettings(); | 58 | scanForApplicationSettings(); |
59 | 59 | ||
@@ -140,11 +140,11 @@ void BackupAndRestore::selectItem(QListViewItem *currentItem){ | |||
140 | return; | 140 | return; |
141 | 141 | ||
142 | if(currentItem->text(HEADER_BACKUP) == "B"){ | 142 | if(currentItem->text(HEADER_BACKUP) == "B"){ |
143 | currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("null")); | 143 | currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("backup/null")); |
144 | currentItem->setText(HEADER_BACKUP, ""); | 144 | currentItem->setText(HEADER_BACKUP, ""); |
145 | } | 145 | } |
146 | else{ | 146 | else{ |
147 | currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("check")); | 147 | currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("backup/check")); |
148 | currentItem->setText(HEADER_BACKUP, "B"); | 148 | currentItem->setText(HEADER_BACKUP, "B"); |
149 | } | 149 | } |
150 | } | 150 | } |