mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-12 16:03:42 +02:00
- header-clocks: simplify calls
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1988,7 +1988,7 @@ void CMovieBrowser::refreshTitle(void)
|
||||
|
||||
if (timeset)
|
||||
{
|
||||
m_header->enableClock(true, "%H:%M", "%H %M", true);
|
||||
m_header->enableClock();
|
||||
if (m_header->getClockObject())
|
||||
m_header->getClockObject()->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
|
||||
}
|
||||
@@ -3755,7 +3755,7 @@ bool CMovieBrowser::showMenu(bool calledExternally)
|
||||
delete nfs;
|
||||
|
||||
if (m_header->getClockObject())
|
||||
m_header->enableClock(true, "%H:%M", "%H %M", true);
|
||||
m_header->enableClock();
|
||||
|
||||
return(true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user