summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-03-31 08:12:41 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-03-31 08:12:41 (GMT)
commita833d593da01d7ecf48eda4e62514ed56fb2be97 (patch)
tree963df96ca269f56b3c0b4912d5b73de3bfe4c07d /demos
parent456fdf4e5fe05e94955df0fc7d76c384a0bcfbc5 (diff)
parentedd41ee5488716cf8336a7d8ea0cb3d48d0e7b14 (diff)
downloadQt-a833d593da01d7ecf48eda4e62514ed56fb2be97.zip
Qt-a833d593da01d7ecf48eda4e62514ed56fb2be97.tar.gz
Qt-a833d593da01d7ecf48eda4e62514ed56fb2be97.tar.bz2
Merge commit 'origin/4.7' into symbian47
Conflicts: src/3rdparty/webkit/WebCore/WebCore.pro src/s60installs/bwins/QtGuiu.def src/s60installs/eabi/QtGuiu.def
Diffstat (limited to 'demos')
-rw-r--r--demos/multimedia/player/videowidget.cpp6
-rw-r--r--demos/symbianpkgrules.pri3
2 files changed, 8 insertions, 1 deletions
diff --git a/demos/multimedia/player/videowidget.cpp b/demos/multimedia/player/videowidget.cpp
index 3bf36c3..be864ec 100644
--- a/demos/multimedia/player/videowidget.cpp
+++ b/demos/multimedia/player/videowidget.cpp
@@ -47,6 +47,12 @@ VideoWidget::VideoWidget(QWidget *parent)
: QVideoWidget(parent)
{
setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
+
+ QPalette p = palette();
+ p.setColor(QPalette::Window, Qt::black);
+ setPalette(p);
+
+ setAttribute(Qt::WA_OpaquePaintEvent);
}
void VideoWidget::keyPressEvent(QKeyEvent *event)
diff --git a/demos/symbianpkgrules.pri b/demos/symbianpkgrules.pri
index c511836..68a82cd 100644
--- a/demos/symbianpkgrules.pri
+++ b/demos/symbianpkgrules.pri
@@ -10,6 +10,7 @@ vendorinfo = \
":\"Nokia, Qt\"" \
" "
-default_deployment.pkg_prerules += vendorinfo
+demos_deployment.pkg_prerules += vendorinfo
+DEPLOYMENT += demos_deployment
isEmpty(ICON):ICON = $$QT_SOURCE_TREE/src/s60installs/qt.svg