mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
infoviewer: displaying dd availability is now optional (martii patch adapted by bazi98 )
Origin commit data
------------------
Commit: 041991e0de
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-06-22 (Fri, 22 Jun 2012)
This commit is contained in:
@@ -420,8 +420,8 @@ void CInfoViewerBB::showIcon_DD()
|
||||
if ((g_RemoteControl->current_PIDs.PIDs.selected_apid < g_RemoteControl->current_PIDs.APIDs.size()) &&
|
||||
(g_RemoteControl->current_PIDs.APIDs[g_RemoteControl->current_PIDs.PIDs.selected_apid].is_ac3))
|
||||
dd_icon = NEUTRINO_ICON_DD;
|
||||
else
|
||||
dd_icon = (g_RemoteControl->has_ac3) ? NEUTRINO_ICON_DD_AVAIL : NEUTRINO_ICON_DD_GREY;
|
||||
else
|
||||
dd_icon = (g_settings.infobar_show_dd_available && g_RemoteControl->has_ac3) ? NEUTRINO_ICON_DD_AVAIL : NEUTRINO_ICON_DD_GREY;
|
||||
|
||||
showBBIcons(CInfoViewerBB::ICON_DD, dd_icon);
|
||||
}
|
||||
|
Reference in New Issue
Block a user