summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-02 01:13:06 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-02 01:13:20 +0300
commitecae89e342fc07daa816fe7de133968a51745040 (patch)
tree97c0199c9172c219d0e565335a01300cc7465bbe
parent29d0fdb8472a6b21722d5837c7d0348cafb14ff6 (diff)
downloadmanaverse-ecae89e342fc07daa816fe7de133968a51745040.tar.gz
manaverse-ecae89e342fc07daa816fe7de133968a51745040.tar.bz2
manaverse-ecae89e342fc07daa816fe7de133968a51745040.tar.xz
manaverse-ecae89e342fc07daa816fe7de133968a51745040.zip
Add missing variables into constructor in pincode widget.
-rw-r--r--src/gui/widgets/pincode.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/pincode.cpp b/src/gui/widgets/pincode.cpp
index 6d826e3e2..7d3933dea 100644
--- a/src/gui/widgets/pincode.cpp
+++ b/src/gui/widgets/pincode.cpp
@@ -43,7 +43,9 @@ Pincode::Pincode(const Widget2 *const widget,
mText(),
mTextField(textField),
mPadding(0),
- mSpacing(2)
+ mSpacing(2),
+ mButtonWidth(0),
+ mButtonHeight(0)
{
mAllowLogic = false;
setOpaque(Opaque_false);