summaryrefslogtreecommitdiff
path: root/src/gui/widgets/spellshortcutcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/spellshortcutcontainer.cpp')
-rw-r--r--src/gui/widgets/spellshortcutcontainer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/spellshortcutcontainer.cpp b/src/gui/widgets/spellshortcutcontainer.cpp
index e00c3bffd..4d53e8190 100644
--- a/src/gui/widgets/spellshortcutcontainer.cpp
+++ b/src/gui/widgets/spellshortcutcontainer.cpp
@@ -56,9 +56,10 @@ SpellShortcutContainer::~SpellShortcutContainer()
{
}
-void SpellShortcutContainer::setWidget2(const Widget2 *const widget)
+void SpellShortcutContainer::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);
}