summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemshortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/itemshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/itemshortcutcontainer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/itemshortcutcontainer.cpp b/src/gui/widgets/itemshortcutcontainer.cpp
index 9b83e7863..81ccf4ab5 100644
--- a/src/gui/widgets/itemshortcutcontainer.cpp
+++ b/src/gui/widgets/itemshortcutcontainer.cpp
@@ -71,9 +71,10 @@ ItemShortcutContainer::~ItemShortcutContainer()
{
}
-void ItemShortcutContainer::setWidget2(const Widget2 *const widget)
+void ItemShortcutContainer::setSkin(const Widget2 *const widget,
+ Skin *const skin)
{
- Widget2::setWidget2(widget);
+ ShortcutContainer::setSkin(widget, skin);
mEquipedColor = getThemeColor(ThemeColorId::ITEM_EQUIPPED, 255U);
mEquipedColor2 = getThemeColor(ThemeColorId::ITEM_EQUIPPED_OUTLINE, 255U);
mUnEquipedColor = getThemeColor(ThemeColorId::ITEM_NOT_EQUIPPED, 255U);