cc_timer.h: fix threadname assignment

Parameter not really passed in some some conditions.


Origin commit data
------------------
Commit: ba77ce74c0
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-01-01 (Tue, 01 Jan 2019)
This commit is contained in:
2019-01-01 21:50:50 +01:00
committed by vanhofen
parent 84439d05ee
commit 261ab379c7

View File

@@ -131,7 +131,7 @@ class CComponentsTimer : public sigc::trackable
* @return
* void
*/
void setThreadName(const std::string& n) { name = n; };
void setThreadName(const std::string& n) { name = tn = n; }
/**Provides a signal handler to receive any function or methode.
* Use this in your class where ever you need time controled actions.