mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
gui/infoviewer_bb.cpp: fix tuner icon display
Origin commit data
------------------
Branch: ni/coolstream
Commit: eedf2f9e49
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-04-16 (Tue, 16 Apr 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -195,7 +195,7 @@ void CInfoViewerBB::getBBIconInfo()
|
||||
iconView = checkBBIcon(NEUTRINO_ICON_SCRAMBLED2, &w, &h);
|
||||
break;
|
||||
case CInfoViewerBB::ICON_TUNER:
|
||||
if (g_settings.infobar_show_tuner == 1)
|
||||
if (CFEManager::getInstance()->getEnabledCount() > 1 && g_settings.infobar_show_tuner == 1)
|
||||
iconView = checkBBIcon(NEUTRINO_ICON_TUNER_1, &w, &h);
|
||||
break;
|
||||
default:
|
||||
@@ -596,7 +596,7 @@ void CInfoViewerBB::showOne_CAIcon()
|
||||
|
||||
void CInfoViewerBB::showIcon_Tuner()
|
||||
{
|
||||
if(CFEManager::getInstance()->getFrontendCount() <= 1)
|
||||
if (CFEManager::getInstance()->getEnabledCount() <= 1 || !g_settings.infobar_show_tuner)
|
||||
return;
|
||||
|
||||
std::string icon_name;
|
||||
|
Reference in New Issue
Block a user