CTimeOSD: decouple timeosd from general clock format settings

This commit is contained in:
2016-01-01 19:19:53 +01:00
parent fc8cf590c3
commit e50d205574

View File

@@ -59,11 +59,6 @@ void CTimeOSD::Init()
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
if (g_settings.infoClockFontSize != height){
height = g_settings.infoClockFontSize;