summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2011-03-01 14:55:28 (GMT)
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2011-03-02 14:38:59 (GMT)
commitb0b80d9e8d11c38d986f9aded8ff6cbb68bcf6d0 (patch)
tree80ce188766146576017ed7519961cf579e21f836 /src
parent5e3c49d86feb33f3b722760ceaf002664341cb10 (diff)
downloadQt-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')
-rw-r--r--src/3rdparty/phonon/qt7/videowidget.mm10
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