locationpickerservice/src/locationpickerpotraitview.cpp
changeset 26 f3533f6eae3f
parent 24 ccec19943943
child 30 96df3ab41000
equal deleted inserted replaced
24:ccec19943943 26:f3533f6eae3f
   375     }
   375     }
   376     mListItem->setGraphicsSize(HbListViewItem::Thumbnail);
   376     mListItem->setGraphicsSize(HbListViewItem::Thumbnail);
   377     if(mCollectionContent->locationFound())
   377     if(mCollectionContent->locationFound())
   378     {
   378     {
   379         mListView->setModel(mCollectionContent->getProxyModel(),mListItem);
   379         mListView->setModel(mCollectionContent->getProxyModel(),mListItem);
       
   380         //Enable the options
       
   381         mAscendingAction->setEnabled(true);
       
   382         mDescendingAction->setEnabled(true);
   380     }
   383     }
   381     else
   384     else
   382     {
   385     {
   383         mListView->setModel(mCollectionContent->getStandardModel(),mListItem);
   386         mListView->setModel(mCollectionContent->getStandardModel(),mListItem);
   384     }
   387     }
   385     mViewType = ELocationPickerCollectionContent;
   388     mViewType = ELocationPickerCollectionContent;
   386     //Enable the options
   389     
   387     mAscendingAction->setEnabled(true);
       
   388     mDescendingAction->setEnabled(true);
       
   389     mCollectionAction->setChecked(true);
   390     mCollectionAction->setChecked(true);
   390 }
   391 }
   391 
   392 
   392 // -----------------------------------------------------------------------------
   393 // -----------------------------------------------------------------------------
   393 // LocationPickerPotraitView::setCategoryID()
   394 // LocationPickerPotraitView::setCategoryID()