equal
deleted
inserted
replaced
312 mCollectionContent = new LocationPickerCollectionContent(Qt::Horizontal , aCategoryId); |
312 mCollectionContent = new LocationPickerCollectionContent(Qt::Horizontal , aCategoryId); |
313 } |
313 } |
314 if(mCollectionContent->locationFound()) |
314 if(mCollectionContent->locationFound()) |
315 { |
315 { |
316 mGridView->setModel(mCollectionContent->getProxyModel(),mGridViewItem); |
316 mGridView->setModel(mCollectionContent->getProxyModel(),mGridViewItem); |
|
317 //Enable the options |
|
318 mAscendingAction->setEnabled(true); |
|
319 mDescendingAction->setEnabled(true); |
317 } |
320 } |
318 else |
321 else |
319 { |
322 { |
320 mGridView->setModel(mCollectionContent->getStandardModel(),mGridViewItem); |
323 mGridView->setModel(mCollectionContent->getStandardModel(),mGridViewItem); |
321 } |
324 } |
322 mViewType = ELocationPickerCollectionContent; |
325 mViewType = ELocationPickerCollectionContent; |
323 //Enable the options |
326 |
324 mAscendingAction->setEnabled(true); |
|
325 mDescendingAction->setEnabled(true); |
|
326 mCollectionAction->setChecked(true); |
327 mCollectionAction->setChecked(true); |
327 } |
328 } |
328 |
329 |
329 // ----------------------------------------------------------------------------- |
330 // ----------------------------------------------------------------------------- |
330 // LocationPickerLandscapeView::setCategoryID() |
331 // LocationPickerLandscapeView::setCategoryID() |