photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp
equal
deleted
inserted
replaced
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); |