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
------------------
Commit: eedf2f9e49
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-04-16 (Tue, 16 Apr 2013)
This commit is contained in:
@@ -195,7 +195,7 @@ void CInfoViewerBB::getBBIconInfo()
|
|||||||
iconView = checkBBIcon(NEUTRINO_ICON_SCRAMBLED2, &w, &h);
|
iconView = checkBBIcon(NEUTRINO_ICON_SCRAMBLED2, &w, &h);
|
||||||
break;
|
break;
|
||||||
case CInfoViewerBB::ICON_TUNER:
|
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);
|
iconView = checkBBIcon(NEUTRINO_ICON_TUNER_1, &w, &h);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -596,7 +596,7 @@ void CInfoViewerBB::showOne_CAIcon()
|
|||||||
|
|
||||||
void CInfoViewerBB::showIcon_Tuner()
|
void CInfoViewerBB::showIcon_Tuner()
|
||||||
{
|
{
|
||||||
if(CFEManager::getInstance()->getFrontendCount() <= 1)
|
if (CFEManager::getInstance()->getEnabledCount() <= 1 || !g_settings.infobar_show_tuner)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
std::string icon_name;
|
std::string icon_name;
|
||||||
|
Reference in New Issue
Block a user