[escher/expression_field] Remove unused reload() method

This commit is contained in:
Ruben Dashyan
2019-10-10 16:19:28 +02:00
committed by Léa Saviot
parent 3bc3532358
commit 40d75ffefa
2 changed files with 0 additions and 6 deletions

View File

@@ -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;

View File

@@ -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);