diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-09-14 17:08:40 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-09-14 17:08:40 (GMT) |
commit | ebd0823fa2e8b1a19bff32a39c4051ba8535d501 (patch) | |
tree | 04e9fa95c15ccbda8acca965b40cc2e8245968fb /tests/benchmarks | |
parent | e8455f867cb998b86e26fcce88deac1c757b6fcc (diff) | |
parent | d1edbe110240e5ede67f10cf6620cc6eef26b359 (diff) | |
download | Qt-ebd0823fa2e8b1a19bff32a39c4051ba8535d501.zip Qt-ebd0823fa2e8b1a19bff32a39c4051ba8535d501.tar.gz Qt-ebd0823fa2e8b1a19bff32a39c4051ba8535d501.tar.bz2 |
Merge branch '4.6'
Diffstat (limited to 'tests/benchmarks')
-rw-r--r-- | tests/benchmarks/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/benchmarks/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp b/tests/benchmarks/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp index 22d7d1a..5e0bdcc 100644 --- a/tests/benchmarks/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp +++ b/tests/benchmarks/qgraphicsanchorlayout/tst_qgraphicsanchorlayout.cpp @@ -92,8 +92,8 @@ static void setAnchor(QGraphicsAnchorLayout *l, Qt::AnchorPoint secondEdge, qreal spacing) { - l->addAnchor(firstItem, firstEdge, secondItem, secondEdge); - l->setAnchorSpacing(firstItem, firstEdge, secondItem, secondEdge, spacing); + QGraphicsAnchor *anchor = l->addAnchor(firstItem, firstEdge, secondItem, secondEdge); + anchor->setSpacing(spacing); } void tst_QGraphicsAnchorLayout::s60_hard_complex_data() |