mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsTimer: start timer only if interval > 0
This commit is contained in:
@@ -42,7 +42,8 @@ CComponentsTimer::CComponentsTimer( const int& interval)
|
||||
tm_interval = interval;
|
||||
|
||||
sl = sigc::mem_fun(*this, &CComponentsTimer::stopTimer);
|
||||
startTimer();
|
||||
if (interval > 0)
|
||||
startTimer();
|
||||
}
|
||||
|
||||
CComponentsTimer::~CComponentsTimer()
|
||||
|
Reference in New Issue
Block a user