summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-03-29 07:16:32 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-03-29 07:16:32 (GMT)
commite19d9a53afa0a50d0ca85a144add9d546aac5b39 (patch)
tree875df2617850c2e064e506365ed3d698dc202f75 /src/plugins
parentef4d44f7513bc69a33e3c0328d9f4ed856f6da57 (diff)
parent8cbc9ff40c6b98a8ed488d5c6b86c58e90be6726 (diff)
downloadQt-e19d9a53afa0a50d0ca85a144add9d546aac5b39.zip
Qt-e19d9a53afa0a50d0ca85a144add9d546aac5b39.tar.gz
Qt-e19d9a53afa0a50d0ca85a144add9d546aac5b39.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/mediaservices/qt7/qt7movievideowidget.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/mediaservices/qt7/qt7movievideowidget.mm b/src/plugins/mediaservices/qt7/qt7movievideowidget.mm
index c58d0a0..648d6b4 100644
--- a/src/plugins/mediaservices/qt7/qt7movievideowidget.mm
+++ b/src/plugins/mediaservices/qt7/qt7movievideowidget.mm
@@ -73,7 +73,8 @@ public:
void initializeGL()
{
- glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
+ QColor bgColor = palette().color(QPalette::Background);
+ glClearColor(bgColor.redF(), bgColor.greenF(), bgColor.blueF(), bgColor.alphaF());
}
void resizeGL(int w, int h)