From aa7119314e1a33d908b98906d30be94eb116d02d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Mar 2018 02:22:21 +0300 Subject: Add skin parameter to all button constructors. --- src/gui/windows/buyselldialog.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/buyselldialog.cpp') 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); -- cgit v1.2.3-70-g09d2