[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

@@ -70,7 +70,7 @@ void FunctionParameterController::willDisplayCellForIndex(HighlightCell * cell,
}
ExpiringPointer<CartesianFunction> FunctionParameterController::function() {
return app()->functionStore()->modelForRecord(m_record);
return App::app()->functionStore()->modelForRecord(m_record);
}
}