diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-09 12:46:37 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-11-09 14:09:33 (GMT) |
commit | 445e8af844ef6f120a5e406271dbeabad34ed47a (patch) | |
tree | ca7e911e2814f7c0cbe0dd7b9a5f6d870bbecd8e /src/gui/graphicsview/qgraphicsanchorlayout_p.cpp | |
parent | e07878a9bcccbf063650272329c0aca14290b8e3 (diff) | |
download | Qt-445e8af844ef6f120a5e406271dbeabad34ed47a.zip Qt-445e8af844ef6f120a5e406271dbeabad34ed47a.tar.gz Qt-445e8af844ef6f120a5e406271dbeabad34ed47a.tar.bz2 |
Fix warnings
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/graphicsview/qgraphicsanchorlayout_p.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsanchorlayout_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp index 182594e..594a205 100644 --- a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp +++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp @@ -903,7 +903,7 @@ bool QGraphicsAnchorLayoutPrivate::simplifyGraphIteration(QGraphicsAnchorLayoutP QStack<QPair<AnchorVertex *, AnchorVertex *> > stack; stack.push(qMakePair(static_cast<AnchorVertex *>(0), layoutFirstVertex[orientation])); QVector<AnchorVertex*> candidates; - bool candidatesForward; + bool candidatesForward = true; // Walk depth-first, in the stack we store start of the candidate sequence (beforeSequence) // and the vertex to be visited. |