diff options
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index 5e89bc35..03e6e380 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -102,8 +102,10 @@ void ItemPopup::setItem(const ItemInfo &item, bool showImage) if (showImage) { ResourceManager *resman = ResourceManager::getInstance(); - Image *image = resman->getImage("graphics/items/" + - item.getDisplay().image); + Image *image = resman->getImage( + paths.getValue("itemIcons", "graphics/items/") + + item.getDisplay().image); + mIcon->setImage(image); if (image) { |