summaryrefslogtreecommitdiff
path: root/src/gui/widgets/pincode.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/widgets/pincode.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/widgets/pincode.cpp')
-rw-r--r--src/gui/widgets/pincode.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/pincode.cpp b/src/gui/widgets/pincode.cpp
index d05684056..e0f0ce3d8 100644
--- a/src/gui/widgets/pincode.cpp
+++ b/src/gui/widgets/pincode.cpp
@@ -94,7 +94,11 @@ void Pincode::addButtons()
for (int f = 0; f < 10; f ++)
{
const std::string str = toString(f);
- mButtons[f] = new Button(this, str, str, this);
+ mButtons[f] = new Button(this,
+ str,
+ str,
+ BUTTON_SKIN,
+ this);
mButtons[f]->adjustSize();
const Rect &rect = mButtons[f]->getDimension();
if (rect.width > buttonWidth)
@@ -122,6 +126,7 @@ void Pincode::addButtons()
// TRANSLATORS: clear pin code button
_("Clear"),
"clear",
+ BUTTON_SKIN,
this);
mButtons[10]->adjustSize();
add(mButtons[10]);