CTimeOSD: decouple timeosd from general clock format settings

Origin commit data
------------------
Commit: e50d205574
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-01 (Fri, 01 Jan 2016)
This commit is contained in:
2016-01-01 19:19:53 +01:00
parent 2093516363
commit 9ae93f33e9

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;