videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/src/mpxvideoplaybackcontrolconfiguration.cpp
changeset 39 f6d44a0cd476
parent 34 bbb98528c666
--- a/videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/src/mpxvideoplaybackcontrolconfiguration.cpp	Fri May 14 15:14:51 2010 +0300
+++ b/videoplayback/hbvideoplaybackview/tsrc/testvideoplaybackcontrolscontroller/stub/src/mpxvideoplaybackcontrolconfiguration.cpp	Fri May 28 09:45:19 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: 1 %
+// Version : %version: 2 %
 
 
 
@@ -41,7 +41,6 @@
         QMPXVideoPlaybackControlsController* controller)
     : mControlsController( controller )
 {
-    createControlList();
 }
 
 // -------------------------------------------------------------------------------------------------
@@ -64,17 +63,11 @@
 {
     MPX_DEBUG(_L("QMPXVideoPlaybackControlConfiguration::createControlList()"));
 
-    QMPXVideoPlaybackViewFileDetails* fileDetails = mControlsController->fileDetails();
+    addControlToList( EMPXBufferingAnimation );
+    addControlToList( EMPXStatusPane );
+    addControlToList( EMPXRealLogoBitmap );
 
-    if ( fileDetails->mPlaybackMode != EMPXVideoLocal )
-    {
-        //
-        // if it's not local mode, add branding animation control to show while initializing
-        //
-        addControlToList( EMPXBufferingAnimation );
-    }
-
-    addControlToList( EMPXStatusPane );
+    emit controlListUpdated();
 }
 
 // -------------------------------------------------------------------------------------------------
@@ -112,8 +105,8 @@
     {
         mState = KControlListUpdated;    
     }
-    
-    
+
+    emit controlListUpdated();
 }
 
 // -------------------------------------------------------------------------------------------------