mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsTimer: simplify isRun function
This commit is contained in:
@@ -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;};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user