[apps] Make app accessors static members of App classes

This commit is contained in:
Ruben Dashyan
2019-07-19 13:27:15 +02:00
committed by EmilieNumworks
parent 44809f4b3f
commit eb6d697927
31 changed files with 63 additions and 70 deletions

View File

@@ -79,7 +79,7 @@ CalculationController::CalculationController(Responder * parentResponder, InputE
}
void CalculationController::didEnterResponderChain(Responder * previousResponder) {
app()->snapshot()->setActivePage(App::Snapshot::Page::Calculations);
App::app()->snapshot()->setActivePage(App::Snapshot::Page::Calculations);
updateTitle();
reloadLawCurveView();
m_selectableTableView.reloadData();