diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-10-07 08:51:26 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-10-07 08:51:26 (GMT) |
commit | d6d0b2ef5223b4a40e8907104eb1d9e827507a42 (patch) | |
tree | d58cba2b06f34edd4c85375fb4d84af20192f8fe /src/gui/graphicsview/qgraphicsanchorlayout_p.h | |
parent | 709cc9140407280aa5c871d4650c123002dfdd19 (diff) | |
download | Qt-d6d0b2ef5223b4a40e8907104eb1d9e827507a42.zip Qt-d6d0b2ef5223b4a40e8907104eb1d9e827507a42.tar.gz Qt-d6d0b2ef5223b4a40e8907104eb1d9e827507a42.tar.bz2 |
Cosmetic fixes to the previous patches.
There is only one change in the actual code here, and it simply removes
an unnecessary initialization of hasSize in the ctors of the composite
anchors.
Diffstat (limited to 'src/gui/graphicsview/qgraphicsanchorlayout_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsanchorlayout_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.h b/src/gui/graphicsview/qgraphicsanchorlayout_p.h index 1a74d85..24b25de 100644 --- a/src/gui/graphicsview/qgraphicsanchorlayout_p.h +++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.h @@ -227,7 +227,6 @@ struct SequentialAnchorData : public AnchorData SequentialAnchorData() : AnchorData() { type = AnchorData::Sequential; - hasSize = true; #ifdef QT_DEBUG name = QLatin1String("SequentialAnchorData"); #endif @@ -256,7 +255,6 @@ struct ParallelAnchorData : public AnchorData : AnchorData(), firstEdge(first), secondEdge(second) { type = AnchorData::Parallel; - hasSize = true; // ### Those asserts force that both child anchors have the same direction, // but can't we simplify a pair of anchors in opposite directions? |