summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-09-14 17:08:40 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-09-14 17:08:40 (GMT)
commitebd0823fa2e8b1a19bff32a39c4051ba8535d501 (patch)
tree04e9fa95c15ccbda8acca965b40cc2e8245968fb /tests/benchmarks
parente8455f867cb998b86e26fcce88deac1c757b6fcc (diff)
parentd1edbe110240e5ede67f10cf6620cc6eef26b359 (diff)
downloadQt-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.cpp4
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()