room view added - finished
[toast/confclerk.git] / src / gui / mainwindow.cpp
index f2f4873fd8e56f2551b1afb7d3b89493c6b48fab..a1e995cac850fc06e5d95f1a89a6258fc94a740d 100644 (file)
@@ -212,6 +212,7 @@ void MainWindow::importSchedule()
         QDate aEndDate = Conference::getById(AppSettings::confId()).end();
         dayNavigator->setDates(aStartDate, aEndDate);
         trackDayNavigator->setDates(aStartDate, aEndDate);
+        roomDayNavigator->setDates(aStartDate, aEndDate);
     }
 }
 
@@ -368,6 +369,7 @@ void MainWindow::eventHasChanged(int aEventId)
     static_cast<EventModel*>(trackTreeView->model())->updateModel(aEventId);
     static_cast<EventModel*>(searchTreeView->model())->updateModel(aEventId);
     static_cast<EventModel*>(nowTreeView->model())->updateModel(aEventId);
+    static_cast<EventModel*>(roomTreeView->model())->updateModel(aEventId);
 }
 
 void MainWindow::tabHasChanged(int aIndex)