From 8917a6fb09ffc60fe1d02046b4ff0fa08fbfb46c Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 16 Dec 2014 20:57:30 +0100 Subject: [PATCH] CComponentsTimer: simplify isRun function Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1d574d93bc5207d0e500dffe1ebad5e586124c4f Author: Thilo Graf Date: 2014-12-16 (Tue, 16 Dec 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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 62992c5aa..5be4b252b 100644 --- a/src/gui/components/cc_timer.h +++ b/src/gui/components/cc_timer.h @@ -64,7 +64,7 @@ class CComponentsTimer : public sigc::trackable bool stopTimer(); ///returns true, if timer is running in thread - bool isRun() const {return tm_thread == 0 ? false:true;}; + bool isRun() const {return tm_thread;}; ///set another interval in seconds void setTimerIntervall(const int& seconds){tm_interval = seconds;};