diff options
author | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2010-03-05 00:52:55 (GMT) |
---|---|---|
committer | Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com> | 2010-03-05 00:52:55 (GMT) |
commit | 43d2aeab612022228eb9357bfa7e8bb88809c64f (patch) | |
tree | c1e3a3a0d87fb85b63f5943b391c869f2b68ecac /src/plugins | |
parent | 5a3b9d3daf64ea686427478391d3773c5a1e024e (diff) | |
download | Qt-43d2aeab612022228eb9357bfa7e8bb88809c64f.zip Qt-43d2aeab612022228eb9357bfa7e8bb88809c64f.tar.gz Qt-43d2aeab612022228eb9357bfa7e8bb88809c64f.tar.bz2 |
QuickTime movie view output: emit the natural size changes
Reviewed-by: Justin McPherson
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/mediaservices/qt7/qt7movieviewoutput.mm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/mediaservices/qt7/qt7movieviewoutput.mm b/src/plugins/mediaservices/qt7/qt7movieviewoutput.mm index b90470c..d8d48d0 100644 --- a/src/plugins/mediaservices/qt7/qt7movieviewoutput.mm +++ b/src/plugins/mediaservices/qt7/qt7movieviewoutput.mm @@ -201,7 +201,10 @@ void QT7MovieViewOutput::setMovie(void *movie) void QT7MovieViewOutput::updateNaturalSize(const QSize &newSize) { - m_nativeSize = newSize; + if (m_nativeSize != newSize) { + m_nativeSize = newSize; + emit nativeSizeChanged(); + } } WId QT7MovieViewOutput::winId() const |