--- a/mmsharing/livecommsui/lcui/src/lcvideowidget.cpp Fri Jun 11 13:36:18 2010 +0300
+++ b/mmsharing/livecommsui/lcui/src/lcvideowidget.cpp Wed Jun 23 18:09:54 2010 +0300
@@ -31,6 +31,7 @@
HbTransparentWindow(parent),
mShowVideo(showVideo)
{
+ setFlag(QGraphicsItem::ItemUsesExtendedStyleOption, true);
}
// -----------------------------------------------------------------------------
@@ -50,6 +51,7 @@
{
Q_UNUSED(widget)
+ painter->save();
if ( mShowVideo ){
QPainter::CompositionMode origCompositionMode = painter->compositionMode();
@@ -64,6 +66,7 @@
painter->drawRoundedRect( option->exposedRect,
lcVideoWidgetCornerRounding, lcVideoWidgetCornerRounding);
}
+ painter->restore();
}
// -----------------------------------------------------------------------------