summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-13 01:39:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-13 01:41:06 +0300
commit9d92f9ae55927283fb9f5a3855d654aba576c5f8 (patch)
treedb224f73f59445f692f0be6415c61774e228fdc8 /src/gui
parentd8aaca79e608c98dfa82f145b032ca94ce473138 (diff)
downloadplus-9d92f9ae55927283fb9f5a3855d654aba576c5f8.tar.gz
plus-9d92f9ae55927283fb9f5a3855d654aba576c5f8.tar.bz2
plus-9d92f9ae55927283fb9f5a3855d654aba576c5f8.tar.xz
plus-9d92f9ae55927283fb9f5a3855d654aba576c5f8.zip
Change selection theming.
Diffstat (limited to 'src/gui')
-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");