diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-03-09 02:22:21 +0300 |
commit | aa7119314e1a33d908b98906d30be94eb116d02d (patch) | |
tree | a99092b16529937c20c6ec3a7d00d7f69eabfe35 /src/gui/widgets/setupbuttonitem.cpp | |
parent | 0424b1383e3c07192b4493d5210b4384b5a69a75 (diff) | |
download | manaplus-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/setupbuttonitem.cpp')
-rw-r--r-- | src/gui/widgets/setupbuttonitem.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/widgets/setupbuttonitem.cpp b/src/gui/widgets/setupbuttonitem.cpp index 00ebe9fd8..c3c5c0d93 100644 --- a/src/gui/widgets/setupbuttonitem.cpp +++ b/src/gui/widgets/setupbuttonitem.cpp @@ -39,7 +39,11 @@ SetupButtonItem::SetupButtonItem(const std::string &restrict text, mButton(nullptr) { mValueType = VSTR; - mWidget = new Button(this, text, actionEventId, listener); + mWidget = new Button(this, + text, + actionEventId, + BUTTON_SKIN, + listener); createControls(); } |