mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
CInfoViewer: remove clock object interval allocation
Already allocated with default value (1s) by constructor and also not required, because internal clock timer is not used here.
This commit is contained in:
@@ -249,7 +249,6 @@ void CInfoViewer::initClock()
|
|||||||
if (clock == NULL){
|
if (clock == NULL){
|
||||||
clock = new CComponentsFrmClock();
|
clock = new CComponentsFrmClock();
|
||||||
clock->setClockFormat("%H:%M", "%H %M");
|
clock->setClockFormat("%H:%M", "%H %M");
|
||||||
clock->setClockIntervall(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CInfoClock::getInstance()->disableInfoClock();
|
CInfoClock::getInstance()->disableInfoClock();
|
||||||
|
Reference in New Issue
Block a user