[apps/*/expression_model_list_controller] Refactor modelStore()

Its return type is covariant. Get the ExpressionModelStore from the App.
This commit is contained in:
Ruben Dashyan
2019-09-06 17:21:31 +02:00
committed by LeaNumworks
parent e80aaa649d
commit 413397652c
9 changed files with 26 additions and 14 deletions

View File

@@ -248,10 +248,6 @@ TabViewController * FunctionListController::tabController() const {
return static_cast<TabViewController *>(parentResponder()->parentResponder()->parentResponder()->parentResponder());
}
FunctionStore * FunctionListController::modelStore() {
return FunctionApp::app()->functionStore();
}
InputViewController * FunctionListController::inputController() {
return FunctionApp::app()->inputViewController();
}