mmsharing/livecommsui/lcui/src/lcvideowidget.cpp
changeset 25 53c1c4459a94
parent 22 496ad160a278
child 26 5554410e16f5
--- 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();
 }
 
 // -----------------------------------------------------------------------------