diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-22 23:29:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-22 23:29:25 +0300 |
commit | f1dfe88c7a0c30de14439277c4ba7d69bd495fbf (patch) | |
tree | 2bfa5831dc055db21b21930b162dd39e6921e86f /src/gui/widgets/virtshortcutcontainer.cpp | |
parent | 6dff7bd4ebf3c1718ac18f756c5f65acbd83ebe9 (diff) | |
download | plus-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.gz plus-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.bz2 plus-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.xz plus-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.zip |
Set skin object in shortcut containers for future usage.
Diffstat (limited to 'src/gui/widgets/virtshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/virtshortcutcontainer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/virtshortcutcontainer.cpp b/src/gui/widgets/virtshortcutcontainer.cpp index d0400980f..cac320d54 100644 --- a/src/gui/widgets/virtshortcutcontainer.cpp +++ b/src/gui/widgets/virtshortcutcontainer.cpp @@ -63,9 +63,10 @@ VirtShortcutContainer::~VirtShortcutContainer() { } -void VirtShortcutContainer::setWidget2(const Widget2 *const widget) +void VirtShortcutContainer::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); |