summaryrefslogtreecommitdiff
path: root/src/gui/widgets/emoteshortcutcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-05-22 23:29:25 +0300
committerAndrei Karas <akaras@inbox.ru>2018-05-22 23:29:25 +0300
commitf1dfe88c7a0c30de14439277c4ba7d69bd495fbf (patch)
tree2bfa5831dc055db21b21930b162dd39e6921e86f /src/gui/widgets/emoteshortcutcontainer.cpp
parent6dff7bd4ebf3c1718ac18f756c5f65acbd83ebe9 (diff)
downloadmanaverse-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.gz
manaverse-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.bz2
manaverse-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.tar.xz
manaverse-f1dfe88c7a0c30de14439277c4ba7d69bd495fbf.zip
Set skin object in shortcut containers for future usage.
Diffstat (limited to 'src/gui/widgets/emoteshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp
index 6b9cc5396..caa9150c1 100644
--- a/src/gui/widgets/emoteshortcutcontainer.cpp
+++ b/src/gui/widgets/emoteshortcutcontainer.cpp
@@ -75,10 +75,10 @@ EmoteShortcutContainer::~EmoteShortcutContainer()
{
}
-void EmoteShortcutContainer::setWidget2(const Widget2 *restrict const widget)
- restrict2
+void EmoteShortcutContainer::setSkin(const Widget2 *const widget,
+ Skin *const skin)
{
- Widget2::setWidget2(widget);
+ ShortcutContainer::setSkin(widget, skin);
mForegroundColor = getThemeColor(ThemeColorId::TEXT, 255U);
mForegroundColor2 = getThemeColor(ThemeColorId::TEXT_OUTLINE, 255U);
}