From 6319d2d16c0c07f8919a748ed844f3db1e48e827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Arve=20S=C3=A6ther?= Date: Tue, 12 May 2009 13:35:14 +0200 Subject: Fixed dumping so that we dump both q_yy and q_xx instead of q_yy twice. That code is only executed if the environment varible QT_GRAPHICSLAYOUT_DEBUG is set to1 --- src/gui/graphicsview/qgridlayoutengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/graphicsview/qgridlayoutengine.cpp b/src/gui/graphicsview/qgridlayoutengine.cpp index b377195..c150b0e 100644 --- a/src/gui/graphicsview/qgridlayoutengine.cpp +++ b/src/gui/graphicsview/qgridlayoutengine.cpp @@ -1150,8 +1150,8 @@ void QGridLayoutEngine::dump(int indent) const q_rowData.dump(indent + 2); qDebug("%*s Geometries output", indent, ""); + QVector *cellPos = &q_yy; for (int pass = 0; pass < 2; ++pass) { - QVector *cellPos = &q_yy; QString message; for (i = 0; i < cellPos->count(); ++i) { message += QLatin1String((message.isEmpty() ? "[" : ", ")); -- cgit v0.12