equal
deleted
inserted
replaced
541 iListbox->StoreSettings(); |
541 iListbox->StoreSettings(); |
542 AppUi()->ActivateViewL(iPreviousView); |
542 AppUi()->ActivateViewL(iPreviousView); |
543 } |
543 } |
544 break; |
544 break; |
545 case EPodcastResetDb: |
545 case EPodcastResetDb: |
|
546 { |
546 CAknQueryDialog* dlg= new(ELeave) CAknQueryDialog(); |
547 CAknQueryDialog* dlg= new(ELeave) CAknQueryDialog(); |
547 |
548 |
548 CleanupStack::PushL(dlg); |
549 CleanupStack::PushL(dlg); |
549 HBufC *text = iCoeEnv->AllocReadResourceLC(R_RESET_DB_QUERY); |
550 HBufC *text = iCoeEnv->AllocReadResourceLC(R_RESET_DB_QUERY); |
550 dlg->SetPromptL(*text); |
551 dlg->SetPromptL(*text); |
553 if(dlg->ExecuteLD(R_QUERYDLG)) |
554 if(dlg->ExecuteLD(R_QUERYDLG)) |
554 { |
555 { |
555 iPodcastModel.DropDB(); |
556 iPodcastModel.DropDB(); |
556 AppUi()->Exit(); |
557 AppUi()->Exit(); |
557 } |
558 } |
|
559 } |
558 break; |
560 break; |
559 default: |
561 default: |
|
562 { |
560 AppUi()->HandleCommandL(aCommand); |
563 AppUi()->HandleCommandL(aCommand); |
|
564 } |
561 break; |
565 break; |
562 } |
566 } |
563 } |
567 } |
564 |
568 |
565 void CPodcastSettingsView::HandleStatusPaneSizeChange() |
569 void CPodcastSettingsView::HandleStatusPaneSizeChange() |