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/windows/bankwindow.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/windows/bankwindow.cpp')
-rw-r--r-- | src/gui/windows/bankwindow.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/bankwindow.cpp b/src/gui/windows/bankwindow.cpp index bd5d19ab0..634be5fa9 100644 --- a/src/gui/windows/bankwindow.cpp +++ b/src/gui/windows/bankwindow.cpp @@ -49,9 +49,11 @@ BankWindow::BankWindow() : mInputMoneyTextField(new IntTextField(this, 0, 0, 2147483647, Enable_true, 0)), // TRANSLATORS: bank window button - mWithdrawButton(new Button(this, _("Withdraw"), "withdraw", this)), + mWithdrawButton(new Button(this, _("Withdraw"), "withdraw", + BUTTON_SKIN, this)), // TRANSLATORS: bank window button - mDepositButton(new Button(this, _("Deposit"), "deposit", this)) + mDepositButton(new Button(this, _("Deposit"), "deposit", + BUTTON_SKIN, this)) { setWindowName("Bank"); setCloseButton(true); |