summaryrefslogtreecommitdiff
path: root/src/gui/windows/buyselldialog.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/buyselldialog.cpp
parent0424b1383e3c07192b4493d5210b4384b5a69a75 (diff)
downloadplus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.gz
plus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.bz2
plus-aa7119314e1a33d908b98906d30be94eb116d02d.tar.xz
plus-aa7119314e1a33d908b98906d30be94eb116d02d.zip
Add skin parameter to all button constructors.
Diffstat (limited to 'src/gui/windows/buyselldialog.cpp')
-rw-r--r--src/gui/windows/buyselldialog.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/windows/buyselldialog.cpp b/src/gui/windows/buyselldialog.cpp
index 9347c5d5a..fa33ea73b 100644
--- a/src/gui/windows/buyselldialog.cpp
+++ b/src/gui/windows/buyselldialog.cpp
@@ -86,7 +86,11 @@ void BuySellDialog::init()
*curBtn != nullptr;
curBtn++)
{
- Button *const btn = new Button(this, gettext(*curBtn), *curBtn, this);
+ Button *const btn = new Button(this,
+ gettext(*curBtn),
+ *curBtn,
+ BUTTON_SKIN,
+ this);
if (mBuyButton == nullptr)
mBuyButton = btn; // For focus request
btn->setPosition(x, y);