mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
gui/timerlist.cpp: check CFEManager::getEnabledCount in place of CFEManager::FE_MODE_SINGLE
Origin commit data
------------------
Branch: ni/coolstream
Commit: fb7c0963cc
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-04-01 (Mon, 01 Apr 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1251,7 +1251,7 @@ int CTimerList::newTimer()
|
|||||||
|
|
||||||
bool askUserOnTimerConflict(time_t announceTime, time_t stopTime)
|
bool askUserOnTimerConflict(time_t announceTime, time_t stopTime)
|
||||||
{
|
{
|
||||||
if (CFEManager::getInstance()->getMode() == CFEManager::FE_MODE_SINGLE){
|
if (CFEManager::getInstance()->getEnabledCount() == 1) {
|
||||||
CTimerdClient Timer;
|
CTimerdClient Timer;
|
||||||
CTimerd::TimerList overlappingTimers = Timer.getOverlappingTimers(announceTime,stopTime);
|
CTimerd::TimerList overlappingTimers = Timer.getOverlappingTimers(announceTime,stopTime);
|
||||||
//printf("[CTimerdClient] attention\n%d\t%d\t%d conflicts with:\n",timerNew.announceTime,timerNew.alarmTime,timerNew.stopTime);
|
//printf("[CTimerdClient] attention\n%d\t%d\t%d conflicts with:\n",timerNew.announceTime,timerNew.alarmTime,timerNew.stopTime);
|
||||||
|
Reference in New Issue
Block a user