diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-05-12 11:35:14 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-05-12 11:37:24 (GMT) |
commit | 6319d2d16c0c07f8919a748ed844f3db1e48e827 (patch) | |
tree | 3218e5028526bdb507ca360e9e624f9d1a64b060 /src/gui | |
parent | 31e420abad4816d709af9dd7f839070810796bcd (diff) | |
download | Qt-6319d2d16c0c07f8919a748ed844f3db1e48e827.zip Qt-6319d2d16c0c07f8919a748ed844f3db1e48e827.tar.gz Qt-6319d2d16c0c07f8919a748ed844f3db1e48e827.tar.bz2 |
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
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/graphicsview/qgridlayoutengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<qreal> *cellPos = &q_yy; for (int pass = 0; pass < 2; ++pass) { - QVector<qreal> *cellPos = &q_yy; QString message; for (i = 0; i < cellPos->count(); ++i) { message += QLatin1String((message.isEmpty() ? "[" : ", ")); |