diff options
author | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2011-03-01 15:55:28 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@nokia.com> | 2011-03-02 15:38:59 +0100 |
commit | b0b80d9e8d11c38d986f9aded8ff6cbb68bcf6d0 (patch) | |
tree | 80ce188766146576017ed7519961cf579e21f836 /src/3rdparty | |
parent | 5e3c49d86feb33f3b722760ceaf002664341cb10 (diff) | |
download | qt4-tools-b0b80d9e8d11c38d986f9aded8ff6cbb68bcf6d0.tar.gz |
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 c281e1622f..594517e8ff 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 |