diff -r f84a661cfc1d -r 50bbdc59f9c4 vtuis/videotelui/src/CVtUiRemoteVideoControl.cpp --- a/vtuis/videotelui/src/CVtUiRemoteVideoControl.cpp Fri Mar 12 15:43:03 2010 +0200 +++ b/vtuis/videotelui/src/CVtUiRemoteVideoControl.cpp Mon Mar 15 12:40:49 2010 +0200 @@ -68,6 +68,10 @@ // CVtUiRemoteVideoControl::~CVtUiRemoteVideoControl() { + if ( iAppUi.EventMonitor() ) + { + iAppUi.EventMonitor()->RemoveObserver( this ); + } __VTPRINTENTER( "RemoteVideoControl.~" ) __VTPRINTEXIT( "RemoteVideoControl.~" ) } @@ -93,7 +97,18 @@ CreateWindowL(); SetExtent( TPoint(), TSize() ); ActivateL(); - //Window().SetNonFading( ETrue ); + + // Disable fading when using DP (eliminates nasty color error) + if ( FeatureManager::FeatureSupported( KFeatureIdDisplayPost ) ) + { + Window().SetNonFading( ETrue ); + } + + if ( iAppUi.EventMonitor() ) + { + iAppUi.EventMonitor()->AddObserverL( this ); + } + __VTPRINTEXIT( "RemoteVideoControl.ConstructL" ) }