From 261ab379c71e73588045b4ce078ba338e5107b13 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 1 Jan 2019 21:50:50 +0100 Subject: [PATCH] cc_timer.h: fix threadname assignment Parameter not really passed in some some conditions. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/ba77ce74c01975525da64c4b18e84b27a0995538 Author: Thilo Graf Date: 2019-01-01 (Tue, 01 Jan 2019) --- 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.