diff -r 496ad160a278 -r 53c1c4459a94 mmsharing/livecommsui/lcui/src/lcuicomponentrepository.cpp --- a/mmsharing/livecommsui/lcui/src/lcuicomponentrepository.cpp Fri Jun 11 13:36:18 2010 +0300 +++ b/mmsharing/livecommsui/lcui/src/lcuicomponentrepository.cpp Wed Jun 23 18:09:54 2010 +0300 @@ -77,7 +77,7 @@ mSlots->insert( lcActSwapViewsId, SLOT( swap() ) ); mSlots->insert( lcActZoomId, SLOT( notSupported() ) ); mSlots->insert( lcActSwitchToVoiceCallId, SLOT( switchToVoiceCall() ) ); - mSlots->insert( lcActOpenKeypadId, SLOT( notSupported() ) ); + mSlots->insert( lcActOpenKeypadId, SLOT( openDialpad() ) ); mSlots->insert( lcActDisableCameraId, SLOT( disableCamera() ) ); mSlots->insert( lcActSpeakerId, SLOT( speaker() ) ); @@ -166,7 +166,10 @@ HbStyleLoader::registerFilePath(":/hbpushbutton_color.css"); } else if ( name == lcWidgetDialpad ){ - object = new Dialpad(); + HbMainWindow* pWindow = HbInstance::instance()->allMainWindows().at(0); + if( pWindow ){ + object = new Dialpad( *pWindow ); + } } else { object = HbDocumentLoader::createObject( type, name ); @@ -567,13 +570,14 @@ if ( mLastLoadedView.length() > 0) { LC_QDEBUG_4( "layout = ", layoutName, ", view =", mLastLoadedView ) - load( mLastLoadedView, layoutName, &ok ); + QObjectList objects = load( mLastLoadedView, layoutName, &ok ); if (!ok) { LC_QCRITICAL( "! loading of XML failed !" ) } else{ mPreviousLayout = mLayout; mLayout = layoutName; + setObjectTree( objects ); } } else { LC_QCRITICAL( "! not loading layout, since view is not loaded!" )