mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
vfd: re-add by mistake removed setting "off" for statusbar
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: a62267196f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Origin message was:
------------------
- vfd: re-add by mistake removed setting "off" for statusbar
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -429,6 +429,9 @@ void CVFD::showVolume(const char vol, const bool force_update)
|
|||||||
return;
|
return;
|
||||||
volume = vol;
|
volume = vol;
|
||||||
|
|
||||||
|
if (g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME] == 2 /* off */)
|
||||||
|
return;
|
||||||
|
|
||||||
bool allowed_mode = (mode == MODE_TVRADIO || mode == MODE_AUDIO || mode == MODE_MENU_UTF8);
|
bool allowed_mode = (mode == MODE_TVRADIO || mode == MODE_AUDIO || mode == MODE_MENU_UTF8);
|
||||||
if (!allowed_mode)
|
if (!allowed_mode)
|
||||||
return;
|
return;
|
||||||
@@ -467,6 +470,9 @@ void CVFD::showPercentOver(const unsigned char perc, const bool /*perform_update
|
|||||||
if (mode == MODE_AUDIO && origin != MODE_AUDIO) // exclusive access for audio mode
|
if (mode == MODE_AUDIO && origin != MODE_AUDIO) // exclusive access for audio mode
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME] == 2 /* off */)
|
||||||
|
return;
|
||||||
|
|
||||||
bool allowed_mode = (mode == MODE_TVRADIO || mode == MODE_AUDIO || mode == MODE_MENU_UTF8);
|
bool allowed_mode = (mode == MODE_TVRADIO || mode == MODE_AUDIO || mode == MODE_MENU_UTF8);
|
||||||
if (!allowed_mode)
|
if (!allowed_mode)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user