diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2010-03-08 05:26:30 (GMT) |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2010-03-09 05:47:00 (GMT) |
commit | 4367951cbb4a0ddb739724878dc9a1cabad5a773 (patch) | |
tree | 75ec265505c522eda16ee97ccc2db5440bd3b8e5 /src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp | |
parent | 173994419413e89e6b1c7ab3cf58dff82f1e5789 (diff) | |
download | Qt-4367951cbb4a0ddb739724878dc9a1cabad5a773.zip Qt-4367951cbb4a0ddb739724878dc9a1cabad5a773.tar.gz Qt-4367951cbb4a0ddb739724878dc9a1cabad5a773.tar.bz2 |
Make QDeclarativeItem NOTIFY signals canonical
Task-number: QTBUG-7193
Reviewed-by: akennedy
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp b/src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp index 1977817..eb5b6ce 100644 --- a/src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp +++ b/src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp @@ -65,12 +65,12 @@ public: if (graphicsObject && graphicsObject->isWidget()) { if (!on) { graphicsObject->removeEventFilter(q); - QObject::disconnect(q, SIGNAL(widthChanged()), q, SLOT(_q_updateSize())); - QObject::disconnect(q, SIGNAL(heightChanged()), q, SLOT(_q_updateSize())); + QObject::disconnect(q, SIGNAL(widthChanged(qreal)), q, SLOT(_q_updateSize())); + QObject::disconnect(q, SIGNAL(heightChanged(qreal)), q, SLOT(_q_updateSize())); } else { graphicsObject->installEventFilter(q); - QObject::connect(q, SIGNAL(widthChanged()), q, SLOT(_q_updateSize())); - QObject::connect(q, SIGNAL(heightChanged()), q, SLOT(_q_updateSize())); + QObject::connect(q, SIGNAL(widthChanged(qreal)), q, SLOT(_q_updateSize())); + QObject::connect(q, SIGNAL(heightChanged(qreal)), q, SLOT(_q_updateSize())); } } } |