diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-18 10:56:57 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-08-18 10:56:57 (GMT) |
commit | 2b53dac40715c0074fdcd64a0bf75c43322cb262 (patch) | |
tree | 58e58f58970bdccc3b36aba4b98b65a045421b39 /src/gui | |
parent | 825ca69c171c788e71359bf1dd94510f74f80b2f (diff) | |
download | Qt-2b53dac40715c0074fdcd64a0bf75c43322cb262.zip Qt-2b53dac40715c0074fdcd64a0bf75c43322cb262.tar.gz Qt-2b53dac40715c0074fdcd64a0bf75c43322cb262.tar.bz2 |
Remove some warnings
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/graphicsview/qgraphicsanchorlayout_p.cpp | 2 | ||||
-rw-r--r-- | src/gui/graphicsview/qgraphicsanchorlayout_p.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp index cdb23dd..f248ffa 100644 --- a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp +++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp @@ -873,11 +873,9 @@ void QGraphicsAnchorLayoutPrivate::removeCenterAnchors( if (!center) return; AnchorVertex *first = internalVertex(item, firstEdge); - AnchorVertex *last = internalVertex(item, lastEdge); Q_ASSERT(first); Q_ASSERT(center); - Q_ASSERT(last); Graph<AnchorVertex, AnchorData> &g = graph[orientation]; diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.h b/src/gui/graphicsview/qgraphicsanchorlayout_p.h index be8e32f..144465a 100644 --- a/src/gui/graphicsview/qgraphicsanchorlayout_p.h +++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.h @@ -155,6 +155,8 @@ struct AnchorData : public QSimplexVariable { virtual void updateChildrenSizes() { }; virtual void refreshSizeHints(qreal effectiveSpacing); + virtual ~AnchorData() {} + void dump(int indent = 2); inline QString toString() const; |