summaryrefslogtreecommitdiff
path: root/dgedit/filelist.cc
diff options
context:
space:
mode:
authordeva <deva>2009-12-04 11:06:26 +0000
committerdeva <deva>2009-12-04 11:06:26 +0000
commit061e35d178350808bc4c2369c6d3c92fcb3b69d2 (patch)
tree1c1195530b92fd08f125a5f5316fea02cfcb367c /dgedit/filelist.cc
parentca1da8e0d448a47704a22685248ee7b44f2c7bec (diff)
Made icons used from resource file instead of directly from png's.
Diffstat (limited to 'dgedit/filelist.cc')
-rw-r--r--dgedit/filelist.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dgedit/filelist.cc b/dgedit/filelist.cc
index 00d7d87..c8e3b79 100644
--- a/dgedit/filelist.cc
+++ b/dgedit/filelist.cc
@@ -165,6 +165,6 @@ void FileList::setItemName(QListWidgetItem *i, QString name)
void FileList::setItemMaster(QListWidgetItem *i, bool master)
{
- if(master) i->setIcon(QPixmap("icons/master.png"));
- else i->setIcon(QPixmap("icons/file.png"));
+ if(master) i->setIcon(QPixmap(":icons/master.png"));
+ else i->setIcon(QPixmap(":icons/file.png"));
}