mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
Fix background paint header clock in channellist
Origin commit data
------------------
Commit: 862a724a3d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-25 (Thu, 25 Sep 2014)
This commit is contained in:
committed by
[CST] Focus
parent
75c93c6068
commit
621dd2c051
@@ -2155,6 +2155,12 @@ void CChannelList::paintHead()
|
|||||||
CComponentsHeader header(x, y, full_width, theight, name /*no header icon*/);
|
CComponentsHeader header(x, y, full_width, theight, name /*no header icon*/);
|
||||||
header.paint(CC_SAVE_SCREEN_NO);
|
header.paint(CC_SAVE_SCREEN_NO);
|
||||||
|
|
||||||
|
if (headerClock != NULL) {
|
||||||
|
headerClock->clearSavedScreen();
|
||||||
|
delete headerClock;
|
||||||
|
headerClock = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (g_Sectionsd->getIsTimeSet()) {
|
if (g_Sectionsd->getIsTimeSet()) {
|
||||||
if (headerClock == NULL) {
|
if (headerClock == NULL) {
|
||||||
headerClock = new CComponentsFrmClock(0, 0, 0, 0, "%H:%M", true);
|
headerClock = new CComponentsFrmClock(0, 0, 0, 0, "%H:%M", true);
|
||||||
|
@@ -305,7 +305,7 @@ bool CComponentsFrmClock::stopThread()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
kill();
|
hide();
|
||||||
cl_thread = 0;
|
cl_thread = 0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user