mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
make channel_id private, use getChannelID()
This commit is contained in:
@@ -456,7 +456,7 @@ int CBEChannelWidget::exec(CMenuTarget* parent, const std::string & /*actionKey*
|
||||
if (state == beDefault)
|
||||
{
|
||||
if (selected < Channels->size()) /* Channels.size() might be 0 */
|
||||
g_Zapit->zapTo_serviceID((*Channels)[selected]->channel_id);
|
||||
g_Zapit->zapTo_serviceID((*Channels)[selected]->getChannelID());
|
||||
|
||||
} else if (state == beMoving) {
|
||||
finishMoveChannel();
|
||||
@@ -495,7 +495,7 @@ void CBEChannelWidget::deleteChannel()
|
||||
if (ShowMsg(LOCALE_FILEBROWSER_DELETE, (*Channels)[selected]->getName(), CMessageBox::mbrNo, CMessageBox::mbYes|CMessageBox::mbNo)!=CMessageBox::mbrYes)
|
||||
return;
|
||||
|
||||
g_bouquetManager->Bouquets[bouquet]->removeService((*Channels)[selected]->channel_id);
|
||||
g_bouquetManager->Bouquets[bouquet]->removeService((*Channels)[selected]->getChannelID());
|
||||
|
||||
Channels = mode == CZapitClient::MODE_TV ? &(g_bouquetManager->Bouquets[bouquet]->tvChannels) : &(g_bouquetManager->Bouquets[bouquet]->radioChannels);
|
||||
|
||||
|
Reference in New Issue
Block a user