diff -r bfc95e24a059 -r c9471d26c7f2 qtinternetradio/ui/src/irplsview.cpp --- a/qtinternetradio/ui/src/irplsview.cpp Mon Jun 21 22:33:45 2010 +0100 +++ b/qtinternetradio/ui/src/irplsview.cpp Thu Jul 22 16:31:41 2010 +0100 @@ -61,22 +61,30 @@ switch (aEvent) { - case EIRQNetworkConnectionEstablished: - iApplication->closeConnectingDialog(); - + case EIRQNetworkConnectionEstablished: if (EIR_UseNetwork_SelectItem == getUseNetworkReason()) { handleItemSelected(); - } - setUseNetworkReason(EIR_UseNetwork_NoReason); - + } break; default: break; } + + setUseNetworkReason(EIR_UseNetwork_NoReason); } +#ifdef HS_WIDGET_ENABLED +void IRPlsView::itemAboutToBeSelected(bool &aNeedNetwork) +{ + aNeedNetwork = true; + + int currentRow = iListView->currentIndex().row(); + iPlayController->setConnectingStationName(iPlsModel->getTitle(currentRow)); +} +#endif + void IRPlsView::handleItemSelected() { int currentRow = iListView->currentIndex().row(); @@ -103,7 +111,11 @@ HbMenu *contextMenu = new HbMenu; contextMenu->setAttribute(Qt::WA_DeleteOnClose); +#ifdef SUBTITLE_STR_BY_LOCID HbAction *action = contextMenu->addAction(hbTrId("txt_common_menu_delete")); +#else + HbAction *action = contextMenu->addAction(hbTrId("Delete")); +#endif action->setObjectName(KActionDeleteName); contextMenu->open(); connect(contextMenu, SIGNAL(triggered(HbAction*)), this, SLOT(actionClicked(HbAction*)));