summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2010-03-19 05:25:35 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2010-03-19 05:25:35 (GMT)
commit13bccd4ade76dd8a9c1cc067cc2b8da69c11def2 (patch)
tree368edfaa27a93383f584f0ac81b6723ccc94d113 /tests
parent79a02c86c445e50630bcae62a4505f212281ec8b (diff)
downloadQt-13bccd4ade76dd8a9c1cc067cc2b8da69c11def2.zip
Qt-13bccd4ade76dd8a9c1cc067cc2b8da69c11def2.tar.gz
Qt-13bccd4ade76dd8a9c1cc067cc2b8da69c11def2.tar.bz2
Better handling for NOTIFY in QGraphicsWidget regarding geometry changes
We bundle the size and the geometry into the same NOTIFY signal. Reviewed-by:akennedy
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp b/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp
index 91fcf50..0d1ad9e 100644
--- a/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp
+++ b/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp
@@ -765,7 +765,7 @@ void tst_QGraphicsWidget::geometry()
{
SubQGraphicsWidget widget;
QCOMPARE(widget.geometry(), QRectF(widget.pos(), widget.size()));
- QSignalSpy spy(&widget, SIGNAL(sizeChanged()));
+ QSignalSpy spy(&widget, SIGNAL(geometryChanged()));
QFETCH(QPointF, pos);
QFETCH(QSizeF, size);
widget.setPos(pos);