Skip to content
Snippets Groups Projects
Commit 46b0aef6 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #10902 #10944: do show scheduled reservations in alwin-scheduler

parent efd4d62d
No related branches found
No related tags found
No related merge requests found
...@@ -393,7 +393,7 @@ void GraphicResourceScene::updateTasks(const scheduledTasksMap &scheduledTasks, ...@@ -393,7 +393,7 @@ void GraphicResourceScene::updateTasks(const scheduledTasksMap &scheduledTasks,
} }
} }
for (reservationsMap::const_iterator it = reservations.begin(); it != reservations.end(); ++it) { for (reservationsMap::const_iterator it = reservations.begin(); it != reservations.end(); ++it) {
if (it->second->getStatus() == Task::PRESCHEDULED) { if (it->second->getStatus() == Task::PRESCHEDULED || it->second->getStatus() == Task::SCHEDULED) {
taskID = it->second->getID(); taskID = it->second->getID();
const std::map<std::string, unsigned> &stations = it->second->getStations(); const std::map<std::string, unsigned> &stations = it->second->getStations();
for (std::map<std::string, unsigned>::const_iterator sit = stations.begin(); sit != stations.end(); ++sit) { for (std::map<std::string, unsigned>::const_iterator sit = stations.begin(); sit != stations.end(); ++sit) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment