mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CChannelList: add instance check for header clock object
Only for sure.
This commit is contained in:
@@ -2143,6 +2143,7 @@ void CChannelList::paintHead()
|
|||||||
header->removeContextButtons();
|
header->removeContextButtons();
|
||||||
header->enableClock(true, "%H:%M", "%H %M", true);
|
header->enableClock(true, "%H:%M", "%H %M", true);
|
||||||
|
|
||||||
|
if (header->getClockObject())
|
||||||
header->getClockObject()->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
|
header->getClockObject()->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
|
||||||
}else{
|
}else{
|
||||||
if (header->getClockObject()){
|
if (header->getClockObject()){
|
||||||
|
Reference in New Issue
Block a user