summaryrefslogtreecommitdiff
path: root/src/3rdparty
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2011-03-01 15:55:28 +0100
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2011-03-02 15:38:59 +0100
commitb0b80d9e8d11c38d986f9aded8ff6cbb68bcf6d0 (patch)
tree80ce188766146576017ed7519961cf579e21f836 /src/3rdparty
parent5e3c49d86feb33f3b722760ceaf002664341cb10 (diff)
downloadqt4-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.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 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