From d0df36406220717545221b0ed94b9ab4ebb908b3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Apr 2011 03:02:59 +0300 Subject: Some fixes after automatic code checking. --- src/gui/widgets/layout.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/layout.h') diff --git a/src/gui/widgets/layout.h b/src/gui/widgets/layout.h index 49b4815d7..2621f018a 100644 --- a/src/gui/widgets/layout.h +++ b/src/gui/widgets/layout.h @@ -173,8 +173,17 @@ class LayoutCell LayoutCell(): mWidget(0), + mHPadding(0), + mVPadding(0), mType(NONE) - { } + { + mExtent[0] = 0; + mExtent[1] = 0; + mAlign[0] = 0; + mAlign[1] = 0; + mNbFill[0] = 0; + mNbFill[1] = 0; + } ~LayoutCell(); -- cgit v1.2.3-70-g09d2