diff options
author | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2011-03-01 14:55:28 (GMT) |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2011-03-02 14:38:59 (GMT) |
commit | b0b80d9e8d11c38d986f9aded8ff6cbb68bcf6d0 (patch) | |
tree | 80ce188766146576017ed7519961cf579e21f836 /src/3rdparty | |
parent | 5e3c49d86feb33f3b722760ceaf002664341cb10 (diff) | |
download | Qt-b0b80d9e8d11c38d986f9aded8ff6cbb68bcf6d0.zip Qt-b0b80d9e8d11c38d986f9aded8ff6cbb68bcf6d0.tar.gz Qt-b0b80d9e8d11c38d986f9aded8ff6cbb68bcf6d0.tar.bz2 |
Don't treat Objective-C property references as l-values
Fixes Clang compile issue as Clang is stricter than gcc on this.
See http://llvm.org/bugs/show_bug.cgi?id=8770
Reviewed-by: Fabien Freling <fabien.freling@nokia.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/phonon/qt7/videowidget.mm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/3rdparty/phonon/qt7/videowidget.mm b/src/3rdparty/phonon/qt7/videowidget.mm index c281e16..594517e 100644 --- a/src/3rdparty/phonon/qt7/videowidget.mm +++ b/src/3rdparty/phonon/qt7/videowidget.mm @@ -446,10 +446,12 @@ public: void setDrawFrameRect(const QRect &rect) { - m_movieLayer.frame.origin.x = rect.x(); - m_movieLayer.frame.origin.y = rect.y(); - m_movieLayer.frame.size.width = rect.width(); - m_movieLayer.frame.size.height = rect.height(); + NSRect frame = m_movieLayer.frame; + frame.origin.x = rect.x(); + frame.origin.y = rect.y(); + frame.size.width = rect.width(); + frame.size.height = rect.height(); + m_movieLayer.frame = frame; } #else // QT_MAC_USE_COCOA == false |