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/setupwindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/setupwindow.cpp') diff --git a/src/gui/windows/setupwindow.cpp b/src/gui/windows/setupwindow.cpp index e838bbeb9..46ac33da7 100644 --- a/src/gui/windows/setupwindow.cpp +++ b/src/gui/windows/setupwindow.cpp @@ -116,7 +116,11 @@ void SetupWindow::postInit() *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); mButtons.push_back(btn); x -= btn->getWidth() + mButtonPadding; btn->setPosition(x, height - btn->getHeight() - mButtonPadding); -- cgit v1.2.3-70-g09d2