diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-15 13:45:14 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-15 13:45:14 (GMT) |
commit | 2eee73e843ba7b4c6e83bd6bfaa08994520c417d (patch) | |
tree | 13990020ee6864f13ee5887c1c2e18c4a199ab03 /tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp | |
parent | 038434b66a473c08e78dc40376c5890dd1af938f (diff) | |
download | Qt-2eee73e843ba7b4c6e83bd6bfaa08994520c417d.zip Qt-2eee73e843ba7b4c6e83bd6bfaa08994520c417d.tar.gz Qt-2eee73e843ba7b4c6e83bd6bfaa08994520c417d.tar.bz2 |
Compilation of the QGraphicsAnchorLayout test on 64bit
+ stabilize the linear layout test
Diffstat (limited to 'tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp')
-rw-r--r-- | tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp b/tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp index 148b2c8..e69a718 100644 --- a/tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp +++ b/tests/auto/qgraphicsanchorlayout1/tst_qgraphicsanchorlayout1.cpp @@ -435,7 +435,7 @@ void tst_QGraphicsAnchorLayout1::testAddAndRemoveAnchor() layout->removeAnchor(layout, Qt::AnchorLeft, widget1, Qt::AnchorLeft); QCOMPARE( layout->count(), 4 ); - QCOMPARE( (int)widget1->parentLayoutItem(), 0 ); + QVERIFY( !widget1->parentLayoutItem() ); // test that item is not removed from layout if other anchors remain set layout->setAnchor(widget2, Qt::AnchorLeft, widget3, Qt::AnchorRight, 10); |