From 3f1d60609657ea69bda453f5c820a23ee5375ab8 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 14 Nov 2002 22:37:11 +0000 Subject: fix icon path --- (limited to 'noncore/settings/backup/backuprestore.cpp') 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) systemSettings = new QListViewItem(backupList, "System Settings", "", "/etc"); -// selectItem(systemSettings); + selectItem(systemSettings); applicationSettings = new QListViewItem(backupList, "Application Settings", "", QDir::homeDirPath() + "/Settings/"); selectItem(applicationSettings); documents= new QListViewItem(backupList, "Documents", "", QDir::homeDirPath() + "/Documents/"); -// selectItem(documents); + selectItem(documents); scanForApplicationSettings(); @@ -140,11 +140,11 @@ void BackupAndRestore::selectItem(QListViewItem *currentItem){ return; if(currentItem->text(HEADER_BACKUP) == "B"){ - currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("null")); + currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("backup/null")); currentItem->setText(HEADER_BACKUP, ""); } else{ - currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("check")); + currentItem->setPixmap(HEADER_NAME, Resource::loadPixmap("backup/check")); currentItem->setText(HEADER_BACKUP, "B"); } } -- cgit v0.9.0.2