summaryrefslogtreecommitdiff
path: root/src/gui/widgets/pincode.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-03-09 02:59:54 +0300
committerAndrei Karas <akaras@inbox.ru>2018-03-09 02:59:54 +0300
commitf96f9d5e58fb181d6f2789562471d015d38f4a4d (patch)
tree3087fae6addb9c1d958de6ffd818ced11fa27f66 /src/gui/widgets/pincode.cpp
parentba123462244ed8e28c87ab43cbefe360d23ff8b2 (diff)
downloadmanaverse-f96f9d5e58fb181d6f2789562471d015d38f4a4d.tar.gz
manaverse-f96f9d5e58fb181d6f2789562471d015d38f4a4d.tar.bz2
manaverse-f96f9d5e58fb181d6f2789562471d015d38f4a4d.tar.xz
manaverse-f96f9d5e58fb181d6f2789562471d015d38f4a4d.zip
Add own skin for pincode keyboard buttons.
Also resize pincode dialog if pincode control too big.
Diffstat (limited to 'src/gui/widgets/pincode.cpp')
-rw-r--r--src/gui/widgets/pincode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/pincode.cpp b/src/gui/widgets/pincode.cpp
index e0f0ce3d8..6d826e3e2 100644
--- a/src/gui/widgets/pincode.cpp
+++ b/src/gui/widgets/pincode.cpp
@@ -97,7 +97,7 @@ void Pincode::addButtons()
mButtons[f] = new Button(this,
str,
str,
- BUTTON_SKIN,
+ BUTTON_PIN_SKIN,
this);
mButtons[f]->adjustSize();
const Rect &rect = mButtons[f]->getDimension();
@@ -126,7 +126,7 @@ void Pincode::addButtons()
// TRANSLATORS: clear pin code button
_("Clear"),
"clear",
- BUTTON_SKIN,
+ BUTTON_PIN_SKIN,
this);
mButtons[10]->adjustSize();
add(mButtons[10]);