diff options
author | Michael Goddard <michael.goddard@nokia.com> | 2012-06-05 13:27:52 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-05 06:12:03 +0200 |
commit | aae2e2104b78117955305ff7d3b06741f4aee69e (patch) | |
tree | 0b0c6ed9f50ce3e2053703093b0dbbd96273cacb /src | |
parent | 71e25920da0dbe8ceea1a60f67e14c3aa403344c (diff) |
Call the base QQuickItem geometryChanged function in our override.
Otherwise you get strange errors like the width/height of a
VideoOutput element are 0.
Change-Id: Ib123112b513f5ed2f0ce24da6dbfe00e20551d74
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/multimedia/qdeclarativevideooutput.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/multimedia/qdeclarativevideooutput.cpp b/src/imports/multimedia/qdeclarativevideooutput.cpp index 8562390b7..418b4d4e1 100644 --- a/src/imports/multimedia/qdeclarativevideooutput.cpp +++ b/src/imports/multimedia/qdeclarativevideooutput.cpp @@ -662,6 +662,8 @@ void QDeclarativeVideoOutput::geometryChanged(const QRectF &newGeometry, const Q Q_UNUSED(newGeometry); Q_UNUSED(oldGeometry); + QQuickItem::geometryChanged(newGeometry, oldGeometry); + // Explicitly listen to geometry changes here. This is needed since changing the position does // not trigger a call to updatePaintNode(). // We need to react to position changes though, as the window backened's display rect gets |