diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-03-31 00:24:39 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-03-31 00:24:39 (GMT) |
commit | 6cb935dd89a391f792f8ad42012b5c7c38712f17 (patch) | |
tree | cc3be8b3372216e654d96da665ecd3660e32cc9f /tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp | |
parent | ebd1c45822aca087be994c898cfb01cd41599429 (diff) | |
download | Qt-6cb935dd89a391f792f8ad42012b5c7c38712f17.zip Qt-6cb935dd89a391f792f8ad42012b5c7c38712f17.tar.gz Qt-6cb935dd89a391f792f8ad42012b5c7c38712f17.tar.bz2 |
Revert "Add NOTIFY to size property so QML bindings are working fine."
This reverts commit 79a02c86c445e50630bcae62a4505f212281ec8b.
Conflicts:
src/gui/graphicsview/qgraphicswidget.cpp
This drop the support of QML on top of 4.6
Diffstat (limited to 'tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp')
-rw-r--r-- | tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp b/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp index ff3d19f..e04d99d 100644 --- a/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp +++ b/tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp @@ -767,13 +767,11 @@ void tst_QGraphicsWidget::geometry() { SubQGraphicsWidget widget; QCOMPARE(widget.geometry(), QRectF(widget.pos(), widget.size())); - QSignalSpy spy(&widget, SIGNAL(sizeChanged())); + QFETCH(QPointF, pos); QFETCH(QSizeF, size); widget.setPos(pos); widget.resize(size); - if (!size.isNull()) - QCOMPARE(spy.count(), 1); QCOMPARE(widget.geometry(), QRectF(pos, size)); } |