| 333 | } |
| 334 | |
| 335 | void MacroScheduleTab::RefreshCalendar( |
| 336 | const std::deque<MacroScheduleEntry> &entries) |
| 337 | { |
| 338 | const QDate rangeStart = _calendar->VisibleRangeStart(); |
| 339 | const QDate rangeEnd = _calendar->VisibleRangeEnd(); |
| 340 | |
| 341 | QList<CalendarEvent> events; |
| 342 | for (const auto &entry : entries) { |
| 343 | events.append( |
| 344 | EntryToCalendarEvents(entry, rangeStart, rangeEnd)); |
| 345 | } |
| 346 | _calendar->SetEvents(events); |
| 347 | } |
| 348 | |
| 349 | void MacroScheduleTab::PopulateTable() |
| 350 | { |
nothing calls this directly
no test coverage detected