CComponentsTimer: simplify isRun function

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1d574d93bc
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-16 (Tue, 16 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2014-12-16 20:57:30 +01:00
parent c483018bf6
commit 8917a6fb09

View File

@@ -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;};