CComponentsTimer: simplify isRun function

Origin commit data
------------------
Commit: 1d574d93bc
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-16 (Tue, 16 Dec 2014)
This commit is contained in:
2014-12-16 20:57:30 +01:00
parent 6867d317f2
commit b053629749

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