photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp
branchRCL_3
changeset 25 191387a8b767
parent 9 6b87b143d312
child 32 78ad99c24f08
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
   411     if (aAccepted)
   411     if (aAccepted)
   412         {
   412         {
   413 
   413 
   414         if (iMediaList->Item(iListBox->CurrentItemIndex()).IsStatic())
   414         if (iMediaList->Item(iListBox->CurrentItemIndex()).IsStatic())
   415             {
   415             {
   416 
   416 			TFileName uiutilitiesrscfile;
   417             CGlxCommandHandlerNewMedia* commandHandlerNewMedia =
   417 			uiutilitiesrscfile.Append(CGlxResourceUtilities::GetUiUtilitiesResourceFilenameL());
   418                     CGlxCommandHandlerNewMedia::NewL(this);
   418 			CGlxCommandHandlerNewMedia* commandHandlerNewMedia =
       
   419 			CGlxCommandHandlerNewMedia::NewL(this,uiutilitiesrscfile);
   419             TGlxMediaId newMediaId;
   420             TGlxMediaId newMediaId;
   420             TInt error = commandHandlerNewMedia->ExecuteLD(newMediaId);
   421             TInt error = commandHandlerNewMedia->ExecuteLD(newMediaId);
   421             if (error == KErrNone)
   422             if (error == KErrNone)
   422                 {
   423                 {
   423                 path = CMPXCollectionPath::NewL(aPath);
   424                 path = CMPXCollectionPath::NewL(aPath);