summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2010-03-08 05:26:30 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2010-03-09 05:47:00 (GMT)
commit4367951cbb4a0ddb739724878dc9a1cabad5a773 (patch)
tree75ec265505c522eda16ee97ccc2db5440bd3b8e5 /src/declarative/graphicsitems/qdeclarativegraphicsobjectcontainer.cpp
parent173994419413e89e6b1c7ab3cf58dff82f1e5789 (diff)
downloadQt-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.cpp8
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()));
}
}
}