summaryrefslogtreecommitdiff
path: root/src/gui/popups/itempopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/itempopup.cpp')
-rw-r--r--src/gui/popups/itempopup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index 5cdc1dd20..34e583f7a 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -182,7 +182,7 @@ void ItemPopup::setItem(const ItemInfo &item,
if (showImage)
{
Image *const image = Loader::getImage(combineDye2(
- paths.getStringValue("itemIcons").append(item.getDisplay().image),
+ pathJoin(paths.getStringValue("itemIcons"), item.getDisplay().image),
item.getDyeIconColorsString(color)));
mIcon->setImage(image);