diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-28 15:50:52 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-28 15:50:52 -0500 |
commit | ebcb1d80bf517aceb69778e1e9f67e5f4da8c484 (patch) | |
tree | 2b17bdf68dd5a96e5ef742207426f65010aedac6 /tools/designer/designer/layout.cpp | |
parent | b129c37241b8777665c2c063713d496e43e934b2 (diff) | |
download | qt3-ebcb1d80bf517aceb69778e1e9f67e5f4da8c484.tar.gz qt3-ebcb1d80bf517aceb69778e1e9f67e5f4da8c484.zip |
Fix build warnings
Thanks to Bruce Sass for the patch!
Diffstat (limited to 'tools/designer/designer/layout.cpp')
-rw-r--r-- | tools/designer/designer/layout.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/designer/designer/layout.cpp b/tools/designer/designer/layout.cpp index 2701023..3422311 100644 --- a/tools/designer/designer/layout.cpp +++ b/tools/designer/designer/layout.cpp @@ -964,11 +964,12 @@ int Spacer::alignment() const QSize Spacer::minimumSize() const { QSize s = QSize( 20,20 ); - if ( sizeType() == Expanding ) + if ( sizeType() == Expanding ) { if ( orient == Vertical ) s.rheight() = 0; else s.rwidth() = 0; + } return s; } |