diff --git a/escher/include/escher/expression_field.h b/escher/include/escher/expression_field.h index 1c2c701aa..6e3faf5b2 100644 --- a/escher/include/escher/expression_field.h +++ b/escher/include/escher/expression_field.h @@ -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; diff --git a/escher/src/expression_field.cpp b/escher/src/expression_field.cpp index 268d20507..fb8fcf7df 100644 --- a/escher/src/expression_field.cpp +++ b/escher/src/expression_field.cpp @@ -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);