[apps/shared] Define static app() accessor in FunctionApp class

This commit is contained in:
Ruben Dashyan
2019-07-18 17:48:27 +02:00
committed by EmilieNumworks
parent 2c9489966d
commit ff887ec4a0
10 changed files with 15 additions and 18 deletions

View File

@@ -336,8 +336,7 @@ void ValuesController::updateNumberOfColumns() {
}
FunctionStore * ValuesController::functionStore() const {
FunctionApp * myApp = static_cast<FunctionApp *>(app());
return myApp->functionStore();
return FunctionApp::app()->functionStore();
}
}