mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
gui/infoviewer.cpp: commit bouquetList checks, it never should be NULL
This commit is contained in:
@@ -973,7 +973,7 @@ void CInfoViewer::loop(bool show_dot)
|
|||||||
fader.Stop();
|
fader.Stop();
|
||||||
if (virtual_zap_mode) {
|
if (virtual_zap_mode) {
|
||||||
/* if bouquet cycle set, do virtual over current bouquet */
|
/* if bouquet cycle set, do virtual over current bouquet */
|
||||||
if (/*g_settings.zap_cycle && */ (bouquetList != NULL) && !(bouquetList->Bouquets.empty()))
|
if (/*g_settings.zap_cycle && */ /* (bouquetList != NULL) && */ !(bouquetList->Bouquets.empty()))
|
||||||
bouquetList->Bouquets[bouquetList->getActiveBouquetNumber()]->channelList->virtual_zap_mode(msg == CRCInput::RC_right);
|
bouquetList->Bouquets[bouquetList->getActiveBouquetNumber()]->channelList->virtual_zap_mode(msg == CRCInput::RC_right);
|
||||||
else
|
else
|
||||||
CNeutrinoApp::getInstance()->channelList->virtual_zap_mode(msg == CRCInput::RC_right);
|
CNeutrinoApp::getInstance()->channelList->virtual_zap_mode(msg == CRCInput::RC_right);
|
||||||
|
Reference in New Issue
Block a user