cc_frm_clock.cpp: ensure set of thread name

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5c31eb0d06
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-05-25 (Sat, 25 May 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2019-05-25 00:43:35 +02:00
committed by vanhofen
parent e8d902d167
commit 7931bf989c

View File

@@ -326,10 +326,10 @@ bool CComponentsFrmClock::startClock()
return false;
}
if (cl_timer == NULL){
if (cl_timer == NULL)
cl_timer = new CComponentsTimer(0);
cl_timer->setThreadName("frmClock");
}
cl_timer->setThreadName(getItemName());
if (cl_timer->OnTimer.empty()){
dprintf(DEBUG_INFO,"\033[33m[CComponentsFrmClock]\t[%s] init slot...\033[0m\n", __func__);