--- a/vtuis/videotelui/src/CVtUiMainControl.cpp Tue Jan 26 12:01:21 2010 +0200
+++ b/vtuis/videotelui/src/CVtUiMainControl.cpp Fri Feb 19 22:53:04 2010 +0200
@@ -20,13 +20,12 @@
// INCLUDE FILES
#include "CVtUiMainControl.h"
#include "VtUiLayout.h"
-#include <aknsutils.h>
-#include <aknsdrawutils.h>
+#include <AknsUtils.h>
+#include <AknsDrawUtils.h>
#include <cvtlogger.h>
#include <featmgr.h>
#include "CVtUiAppUi.h"
#include "tvtuistates.h"
-#include <aknsutils.h>
#include "tVtuifeaturevariation.h"
// ============================ MEMBER FUNCTIONS ===============================
@@ -234,7 +233,7 @@
void CVtUiMainControl::LayoutRemoteVideo( )
{
__VTPRINTENTER( "MainCtrl.LayoutRemoteVideo" )
- if ( NULL != iRemoteVideoControl )
+ if ( NULL != iRemoteVideoControl && iRemoteVideoControl->IsVisible() )
{
TRect rectRemoteVideo(StreamClippingRect());
rectRemoteVideo.Move(PositionRelativeToScreen());