summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_input.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/tabs/setup_input.cpp
parent0424b1383e3c07192b4493d5210b4384b5a69a75 (diff)
downloadManaVerse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz
ManaVerse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2
ManaVerse-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz
ManaVerse-aa7119314e1a33d908b98906d30be94eb116d02d.zip
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/widgets/tabs/setup_input.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_input.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/widgets/tabs/setup_input.cpp b/src/gui/widgets/tabs/setup_input.cpp
index c2e451aed..adf9245bf 100644
--- a/src/gui/widgets/tabs/setup_input.cpp
+++ b/src/gui/widgets/tabs/setup_input.cpp
@@ -62,13 +62,17 @@ Setup_Input::Setup_Input(const Widget2 *const widget) :
mKeyListModel(new KeyListModel),
mKeyList(CREATEWIDGETR(ListBox, this, mKeyListModel, "")),
// TRANSLATORS: button in input settings tab
- mAssignKeyButton(new Button(this, _("Assign"), "assign", this)),
+ mAssignKeyButton(new Button(this, _("Assign"), "assign",
+ BUTTON_SKIN, this)),
// TRANSLATORS: button in input settings tab
- mUnassignKeyButton(new Button(this, _("Unassign"), "unassign", this)),
+ mUnassignKeyButton(new Button(this, _("Unassign"), "unassign",
+ BUTTON_SKIN, this)),
// TRANSLATORS: button in input settings tab
- mDefaultButton(new Button(this, _("Default"), "default", this)),
+ mDefaultButton(new Button(this, _("Default"), "default",
+ BUTTON_SKIN, this)),
// TRANSLATORS: button in input settings tab
- mResetKeysButton(new Button(this, _("Reset all keys"), "resetkeys", this)),
+ mResetKeysButton(new Button(this, _("Reset all keys"), "resetkeys",
+ BUTTON_SKIN, this)),
mTabs(new TabStrip(this, config.getIntValue("fontSize") + 10, 0)),
mScrollArea(new ScrollArea(this, mKeyList,
Opaque_true, "setup_input_background.xml")),