mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
CTimeOSD: decouple timeosd from general clock format settings
This commit is contained in:
@@ -59,11 +59,6 @@ void CTimeOSD::Init()
|
|||||||
setColorBody(COL_BACKGROUND_PLUS_0);
|
setColorBody(COL_BACKGROUND_PLUS_0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_settings.infoClockSeconds)
|
|
||||||
setClockFormat("%H:%M:%S");
|
|
||||||
else
|
|
||||||
setClockFormat("%H:%M", "%H %M");
|
|
||||||
|
|
||||||
//set height, NOTE: height is strictly bound to settings
|
//set height, NOTE: height is strictly bound to settings
|
||||||
if (g_settings.infoClockFontSize != height){
|
if (g_settings.infoClockFontSize != height){
|
||||||
height = g_settings.infoClockFontSize;
|
height = g_settings.infoClockFontSize;
|
||||||
|
Reference in New Issue
Block a user