--- a/videoplayback/hbvideoplaybackview/controlsrc/mpxvideoplaybackdocumentloader.cpp Thu Apr 01 23:22:15 2010 +0300
+++ b/videoplayback/hbvideoplaybackview/controlsrc/mpxvideoplaybackdocumentloader.cpp Thu Apr 01 23:32:44 2010 +0300
@@ -15,12 +15,13 @@
*
*/
-// Version : %version: 7 %
+// Version : %version: 8 %
#include "mpxvideo_debug.h"
#include "mpxvideoplaybackbuttonbar.h"
+#include "mpxvideoplaybackcontrolbar.h"
#include "mpxvideoplaybackprogressbar.h"
#include "mpxvideoplaybackdocumentloader.h"
#include "mpxvideoplaybackfiledetailswidget.h"
@@ -58,7 +59,12 @@
{
QObject *object = NULL;
- if ( name == "buttonBarLayout" )
+ if ( name == "controlBarLayout" )
+ {
+ object = new QMPXVideoPlaybackControlBar( mController );
+ object->setObjectName( name );
+ }
+ else if ( name == "buttonBarLayout" )
{
object = new QMPXVideoPlaybackButtonBar( mController );
object->setObjectName( name );