photosgallery/viewframework/views/viewbase/src/glxtitlefetcher.cpp
branchRCL_3
changeset 30 a60acebbbd9d
parent 0 4e91876724a2
equal deleted inserted replaced
25:191387a8b767 30:a60acebbbd9d
    55     TRACER("CGlxTitleFetcher::ConstructL");
    55     TRACER("CGlxTitleFetcher::ConstructL");
    56     // Go back one level to obtain the ID
    56     // Go back one level to obtain the ID
    57     iPathId = iPath->Id();
    57     iPathId = iPath->Id();
    58     // Go back another level from which to create a media list containing 
    58     // Go back another level from which to create a media list containing 
    59     // this path
    59     // this path
    60     iPath->Back();
    60     if(iPath->Levels() > 0)
       
    61     	{
       
    62 		iPath->Back();
       
    63     	}
    61     
    64     
    62     iBackMediaList = MGlxMediaList::InstanceL(*iPath);
    65     iBackMediaList = MGlxMediaList::InstanceL(*iPath);
    63     
    66     
    64     /// @todo: This idSpaceId must be calculated properly
    67     /// @todo: This idSpaceId must be calculated properly
    65     TGlxIdSpaceId idSpaceId = iBackMediaList->IdSpaceId(0);
    68     TGlxIdSpaceId idSpaceId = iBackMediaList->IdSpaceId(0);