summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.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/windows/tradewindow.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/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp
index 380dc5c21..606d2a380 100644
--- a/src/gui/windows/tradewindow.cpp
+++ b/src/gui/windows/tradewindow.cpp
@@ -86,10 +86,12 @@ TradeWindow::TradeWindow() :
// TRANSLATORS: trade window money label
mMoneyLabel(new Label(this, strprintf(_("You get %s"), ""))),
// TRANSLATORS: trade window button
- mAddButton(new Button(this, _("Add"), "add", this)),
- mOkButton(new Button(this, "", "", this)), // Will be filled in later
+ mAddButton(new Button(this, _("Add"), "add", BUTTON_SKIN, this)),
+ mOkButton(new Button(this, "", "",
+ BUTTON_SKIN, this)), // Will be filled in later
// TRANSLATORS: trade window money change button
- mMoneyChangeButton(new Button(this, _("Change"), "money", this)),
+ mMoneyChangeButton(new Button(this, _("Change"), "money",
+ BUTTON_SKIN, this)),
mMoneyField(new TextField(this, std::string(),
LoseFocusOnTab_true, nullptr, std::string(), false)),
mAutoAddItem(nullptr),