mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher/expression_field] Remove unused reload() method
This commit is contained in:
committed by
Léa Saviot
parent
3bc3532358
commit
40d75ffefa
@@ -21,7 +21,6 @@ public:
|
||||
* use text() there... TODO: change text() for fillTextInBuffer?*/
|
||||
const char * text();
|
||||
void setText(const char * text);
|
||||
void reload();
|
||||
bool editionIsInTextField() const;
|
||||
bool isEmpty() const;
|
||||
bool heightIsMaximal() const;
|
||||
|
||||
@@ -73,11 +73,6 @@ void ExpressionField::layoutSubviews(bool force) {
|
||||
m_textField.setFrame(KDRectZero, force);
|
||||
}
|
||||
|
||||
void ExpressionField::reload() {
|
||||
layoutSubviews();
|
||||
markRectAsDirty(bounds());
|
||||
}
|
||||
|
||||
void ExpressionField::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
// Draw the separator
|
||||
ctx->fillRect(KDRect(0, 0, bounds().width(), k_separatorThickness), Palette::GreyMiddle);
|
||||
|
||||
Reference in New Issue
Block a user