summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/dropshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp3
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp3
4 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/widgets/dropshortcutcontainer.cpp b/src/gui/widgets/dropshortcutcontainer.cpp
index af3b78a31..d6d31871b 100644
--- a/src/gui/widgets/dropshortcutcontainer.cpp
+++ b/src/gui/widgets/dropshortcutcontainer.cpp
@@ -55,7 +55,8 @@ DropShortcutContainer::DropShortcutContainer():
mItemPopup = new ItemPopup;
- mBackgroundImg = Theme::getImageFromTheme("item_shortcut_bgr.png");
+ mBackgroundImg = Theme::getImageFromThemeXml(
+ "item_shortcut_background.xml");
if (dropShortcut)
mMaxItems = dropShortcut->getItemCount();
else
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp
index aaf22c066..79a50bf40 100644
--- a/src/gui/widgets/emoteshortcutcontainer.cpp
+++ b/src/gui/widgets/emoteshortcutcontainer.cpp
@@ -56,7 +56,8 @@ EmoteShortcutContainer::EmoteShortcutContainer():
addMouseListener(this);
addWidgetListener(this);
- mBackgroundImg = Theme::getImageFromTheme("item_shortcut_bgr.png");
+ mBackgroundImg = Theme::getImageFromThemeXml(
+ "item_shortcut_background.xml");
if (mBackgroundImg)
mBackgroundImg->setAlpha(Client::getGuiAlpha());
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index 0585f59cd..714435d21 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -62,7 +62,8 @@ ItemShortcutContainer::ItemShortcutContainer(unsigned number):
mItemPopup = new ItemPopup;
mSpellPopup = new SpellPopup;
- mBackgroundImg = Theme::getImageFromTheme("item_shortcut_bgr.png");
+ mBackgroundImg = Theme::getImageFromThemeXml(
+ "item_shortcut_background.xml");
if (itemShortcut[mNumber])
mMaxItems = itemShortcut[mNumber]->getItemCount();
else
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index 7818dc8dc..c3e3b1495 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -63,7 +63,8 @@ SpellShortcutContainer::SpellShortcutContainer(unsigned number):
mSpellPopup = new SpellPopup;
- mBackgroundImg = Theme::getImageFromTheme("item_shortcut_bgr.png");
+ mBackgroundImg = Theme::getImageFromThemeXml(
+ "item_shortcut_background.xml");
if (spellShortcut)
mMaxItems = spellShortcut->getSpellsCount();
else