[escher] Change dynamic view controller paradigm

Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
This commit is contained in:
Émilie Feral
2017-05-03 10:26:44 +02:00
parent a1f3c21d9b
commit 70fc734f7b
61 changed files with 338 additions and 475 deletions

View File

@@ -120,7 +120,9 @@ bool AppsContainer::dispatchEvent(Ion::Events::Event event) {
}
void AppsContainer::switchTo(App * app) {
m_window.setTitle(app->upperName());
if (app) {
m_window.setTitle(app->upperName());
}
Container::switchTo(app);
}