mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
display only active remote timers in main menu
This commit is contained in:
parent
2ddc1ee46b
commit
5d83b13943
2
HISTORY
2
HISTORY
@ -137,3 +137,5 @@ Version 0.1.1
|
|||||||
|
|
||||||
|
|
||||||
Version 0.1.2
|
Version 0.1.2
|
||||||
|
|
||||||
|
- display only active remote timers in main menu
|
||||||
|
@ -34,7 +34,8 @@ cGlobalSortedTimers::cGlobalSortedTimers(bool forceRefresh) : cVector<const cTim
|
|||||||
cTimer* remoteTimer = NULL;
|
cTimer* remoteTimer = NULL;
|
||||||
while (pRemoteTimers->Service("RemoteTimers::ForEach-v1.0", &remoteTimer) && remoteTimer != NULL) {
|
while (pRemoteTimers->Service("RemoteTimers::ForEach-v1.0", &remoteTimer) && remoteTimer != NULL) {
|
||||||
remoteTimer->SetEventFromSchedule(Schedules); // make sure the event is current
|
remoteTimer->SetEventFromSchedule(Schedules); // make sure the event is current
|
||||||
Append(remoteTimer);
|
if (remoteTimer->HasFlags(tfActive))
|
||||||
|
Append(remoteTimer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user