aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/statictable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/statictable.cpp')
-rw-r--r--qtmips_gui/statictable.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/qtmips_gui/statictable.cpp b/qtmips_gui/statictable.cpp
index 829e71b..594476b 100644
--- a/qtmips_gui/statictable.cpp
+++ b/qtmips_gui/statictable.cpp
@@ -8,6 +8,14 @@ StaticTableLayout::StaticTableLayout(QWidget *parent, int margin, int horizontal
shspace = horizontal_small_spacing;
vspace = vertical_spacing;
setSizeConstraint(QLayout::SetMinAndMaxSize);
+
+ cch_do_layout.size = QSize(0, 0);
+ cch_do_layout.count = 0;
+ cch_heightForWidth.w = 0;
+ cch_heightForWidth.count = 0;
+ cch_heightForWidth.width = 0;
+ cch_minSize.count = 0;
+ cch_minSize.size = QSize(0, 0);
}
StaticTableLayout::~StaticTableLayout() {