summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/emotepopup.cpp2
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/emotepopup.cpp b/src/gui/emotepopup.cpp
index 0b1d72808..33ecc037f 100644
--- a/src/gui/emotepopup.cpp
+++ b/src/gui/emotepopup.cpp
@@ -63,7 +63,7 @@ EmotePopup::EmotePopup() :
mEmotes.push_back(sprite);
}
- mSelectionImage = Theme::getImageFromTheme("selection.png");
+ mSelectionImage = Theme::getImageFromThemeXml("emote_selection.xml");
if (!mSelectionImage)
logger->log1("Error: Unable to load selection.png");
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 70f2c47fb..c5118ce44 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -174,7 +174,7 @@ ItemContainer::ItemContainer(Inventory *inventory, bool forceQuantity):
{
setFocusable(true);
- mSelImg = Theme::getImageFromTheme("selection.png");
+ mSelImg = Theme::getImageFromThemeXml("item_selection.xml");
if (!mSelImg)
logger->log1("Error: Unable to load selection.png");