summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabstrip.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 02:22:21 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 02:22:21 +0300
commitaa7119314e1a33d908b98906d30be94eb116d02d (patch)
treea99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/gui/widgets/tabstrip.cpp
parent0424b1383e3c07192b4493d5210b4384b5a69a75 (diff)
downloadmanaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz
manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2
manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz
manaplus-aa7119314e1a33d908b98906d30be94eb116d02d.zip
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/widgets/tabstrip.cpp')
-rw-r--r--src/gui/widgets/tabstrip.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp
index d32b1414e..e0945b7b0 100644
--- a/src/gui/widgets/tabstrip.cpp
+++ b/src/gui/widgets/tabstrip.cpp
@@ -48,7 +48,8 @@ TabStrip::TabStrip(const Widget2 *const widget,
Widget *TabStrip::createWidget(const std::string &text,
const bool pressed) const
{
- Button *const widget = new Button(this);
+ Button *const widget = new Button(this,
+ BUTTON_SKIN);
widget->setStick(true);
widget->setCaption(text);
widget->adjustSize();