mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
[apps/code] Remove useless class member in ConsoleController
This commit is contained in:
@@ -28,7 +28,6 @@ ConsoleController::ConsoleController(Responder * parentResponder, App * pythonDe
|
||||
TextFieldDelegate(),
|
||||
MicroPython::ExecutionEnvironment(),
|
||||
m_pythonDelegate(pythonDelegate),
|
||||
m_rowHeight(GlobalPreferences::sharedGlobalPreferences()->font()->glyphSize().height()),
|
||||
m_importScriptsWhenViewAppears(false),
|
||||
m_selectableTableView(this, this, this, this),
|
||||
m_editCell(this, pythonDelegate, this),
|
||||
@@ -202,7 +201,7 @@ int ConsoleController::numberOfRows() const {
|
||||
}
|
||||
|
||||
KDCoordinate ConsoleController::rowHeight(int j) {
|
||||
return m_rowHeight;
|
||||
return GlobalPreferences::sharedGlobalPreferences()->font()->glyphSize().height();
|
||||
}
|
||||
|
||||
KDCoordinate ConsoleController::cumulatedHeightFromIndex(int j) {
|
||||
|
||||
Reference in New Issue
Block a user