mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
[apps/shared] Define static app() accessor in FunctionApp class
This commit is contained in:
committed by
EmilieNumworks
parent
2c9489966d
commit
ff887ec4a0
@@ -249,13 +249,11 @@ TabViewController * FunctionListController::tabController() const {
|
||||
}
|
||||
|
||||
FunctionStore * FunctionListController::modelStore() {
|
||||
FunctionApp * myApp = static_cast<FunctionApp *>(app());
|
||||
return myApp->functionStore();
|
||||
return FunctionApp::app()->functionStore();
|
||||
}
|
||||
|
||||
InputViewController * FunctionListController::inputController() {
|
||||
FunctionApp * myApp = static_cast<FunctionApp *>(app());
|
||||
return myApp->inputViewController();
|
||||
return FunctionApp::app()->inputViewController();
|
||||
}
|
||||
|
||||
KDCoordinate FunctionListController::maxFunctionNameWidth() {
|
||||
|
||||
Reference in New Issue
Block a user