summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-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);