mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CComponentsTimer: start timer only if interval > 0
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8aa2b6a5ab
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-30 (Tue, 30 Sep 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -42,6 +42,7 @@ CComponentsTimer::CComponentsTimer( const int& interval)
|
|||||||
tm_interval = interval;
|
tm_interval = interval;
|
||||||
|
|
||||||
sl = sigc::mem_fun(*this, &CComponentsTimer::stopTimer);
|
sl = sigc::mem_fun(*this, &CComponentsTimer::stopTimer);
|
||||||
|
if (interval > 0)
|
||||||
startTimer();
|
startTimer();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user