diff options
author | Andreas Kling <info@andreaskling.com> | 2009-10-05 10:10:28 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-10-05 10:10:28 (GMT) |
commit | b0e6c5ca48c76fb17dca986e9e07adebde390e29 (patch) | |
tree | 05c01a3b42e6216190054e9244c439694cf09e15 | |
parent | 7ec805adeecb8d518c0eb01dad1c04ccea78b340 (diff) | |
download | Qt-b0e6c5ca48c76fb17dca986e9e07adebde390e29.zip Qt-b0e6c5ca48c76fb17dca986e9e07adebde390e29.tar.gz Qt-b0e6c5ca48c76fb17dca986e9e07adebde390e29.tar.bz2 |
Fix uninitialized read in QFormLayoutPrivate::setupVerticalLayoutData()
Merge-request: 1541
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
-rw-r--r-- | src/gui/kernel/qformlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qformlayout.cpp b/src/gui/kernel/qformlayout.cpp index 6ceab07..3e5dadc 100644 --- a/src/gui/kernel/qformlayout.cpp +++ b/src/gui/kernel/qformlayout.cpp @@ -252,7 +252,7 @@ QFormLayoutPrivate::QFormLayoutPrivate() : fieldGrowthPolicy(DefaultFieldGrowthPolicy), rowWrapPolicy(DefaultRowWrapPolicy), has_hfw(false), dirty(true), sizesDirty(true), expandVertical(0), expandHorizontal(0), labelAlignment(0), formAlignment(0), - hfw_width(-1), hfw_sh_height(-1), min_width(-1), + layoutWidth(-1), hfw_width(-1), hfw_sh_height(-1), min_width(-1), sh_width(-1), thresh_width(QLAYOUTSIZE_MAX), hSpacing(-1), vSpacing(-1) { } |