CComponentsTimer: simplify isRun function

This commit is contained in:
2014-12-16 20:57:30 +01:00
parent 3599a4246f
commit 1d574d93bc

View File

@@ -64,7 +64,7 @@ class CComponentsTimer : public sigc::trackable
bool stopTimer(); bool stopTimer();
///returns true, if timer is running in thread ///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 ///set another interval in seconds
void setTimerIntervall(const int& seconds){tm_interval = seconds;}; void setTimerIntervall(const int& seconds){tm_interval = seconds;};