From 8b9a268a0c88fefd6d60523b3737e2235c23696d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sun, 23 Dec 2018 22:56:16 +0100 Subject: [PATCH] cc_timer.h: fix threadname assignment Parameter not really passed in some some conditions. --- src/gui/components/cc_timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_timer.h b/src/gui/components/cc_timer.h index 61623d474..023168472 100644 --- a/src/gui/components/cc_timer.h +++ b/src/gui/components/cc_timer.h @@ -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.