diff --git a/src/gui/components/cc_frm_clock.cpp b/src/gui/components/cc_frm_clock.cpp index 9ae0105d4..5f16adb3b 100644 --- a/src/gui/components/cc_frm_clock.cpp +++ b/src/gui/components/cc_frm_clock.cpp @@ -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__);