From ad35ccbc83463cad0bb01f204f2fab2578b1d94c Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 22 Mar 2012 18:15:18 +0400 Subject: [PATCH] Mark some found bugs with FIXME Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/2209489d3e3cd1d999cfb19f2c2c31b08c0b3df0 Author: [CST] Focus Date: 2012-03-22 (Thu, 22 Mar 2012) --- src/gui/channellist.cpp | 2 ++ src/neutrino.cpp | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 13a2f6825..b2b951f56 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -373,6 +373,8 @@ int CChannelList::doChannelMenu(void) if(result == CMessageBox::mbrYes) { bouquet_id = bouquetList->getActiveBouquetNumber(); + /* FIXME if bouquet name not unique, this is bad, + * existsBouquet can find wrong bouquet */ if(!strcmp(bouquetList->Bouquets[bouquet_id]->channelList->getName(), g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME))) bouquet_id = g_bouquetManager->existsUBouquet(g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME), true); else diff --git a/src/neutrino.cpp b/src/neutrino.cpp index cdcda8e37..eca679013 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -1307,7 +1307,7 @@ void CNeutrinoApp::channelsInit(bool bOnly) TIMER_STOP("[neutrino] sats took"); } - /* Favorites and provides TV bouquets */ + /* Favorites and providers TV bouquets */ bnum = 0; for (i = 0; i < g_bouquetManager->Bouquets.size(); i++) { if (!g_bouquetManager->Bouquets[i]->bHidden && !g_bouquetManager->Bouquets[i]->tvChannels.empty()) @@ -1325,7 +1325,7 @@ void CNeutrinoApp::channelsInit(bool bOnly) printf("[neutrino] got %d TV bouquets\n", bnum); fflush(stdout); TIMER_STOP("[neutrino] tv took"); - + /* FIXME HD bouquet must be virtual ? it is not now */ if(g_settings.make_hd_list) { if(hi) TVfavList->Bouquets.push_back(hdBouquet); @@ -2298,6 +2298,7 @@ _show: nNewChannel = bouquetList->exec(true); } _repeat: + //FIXME wrong name after channel delete ? */ CVFD::getInstance ()->showServicename(channelList->getActiveChannelName()); CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO); printf("************************* ZAP RES: nNewChannel %d\n", nNewChannel);fflush(stdout);