summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-18 10:26:03 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-08-18 10:26:03 (GMT)
commit825ca69c171c788e71359bf1dd94510f74f80b2f (patch)
tree4b672428481e35eeebef9c4fbe845c1f7db2e87d
parent6f4e44018389bd654cda3cc073039ae1143d0bf3 (diff)
downloadQt-825ca69c171c788e71359bf1dd94510f74f80b2f.zip
Qt-825ca69c171c788e71359bf1dd94510f74f80b2f.tar.gz
Qt-825ca69c171c788e71359bf1dd94510f74f80b2f.tar.bz2
Remove some warnings
-rw-r--r--src/gui/graphicsview/qgraphicsanchorlayout_p.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp
index b5b4fb3..cdb23dd 100644
--- a/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp
+++ b/src/gui/graphicsview/qgraphicsanchorlayout_p.cpp
@@ -438,7 +438,6 @@ void QGraphicsAnchorLayoutPrivate::simplifyGraph(Orientation orientation)
return;
bool dirty;
- int count = 0;
do {
dirty = simplifyGraphIteration(orientation);
} while (dirty);
@@ -676,7 +675,6 @@ void QGraphicsAnchorLayoutPrivate::restoreSimplifiedGraph(Orientation orientatio
orientation == Horizontal ? "Horizontal" : "Vertical");
#endif
- Q_Q(QGraphicsAnchorLayout);
Graph<AnchorVertex, AnchorData> &g = graph[orientation];
QList<QPair<AnchorVertex*, AnchorVertex*> > connections = g.connections();