mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CChannelList: add instance check for header clock object
Only for sure.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 340a6992a1
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2143,7 +2143,8 @@ void CChannelList::paintHead()
|
|||||||
header->removeContextButtons();
|
header->removeContextButtons();
|
||||||
header->enableClock(true, "%H:%M", "%H %M", true);
|
header->enableClock(true, "%H:%M", "%H %M", true);
|
||||||
|
|
||||||
header->getClockObject()->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
|
if (header->getClockObject())
|
||||||
|
header->getClockObject()->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
|
||||||
}else{
|
}else{
|
||||||
if (header->getClockObject()){
|
if (header->getClockObject()){
|
||||||
header->disableClock();
|
header->disableClock();
|
||||||
|
Reference in New Issue
Block a user