From 40d75ffefa1d248c9524556da5549ef070bd3046 Mon Sep 17 00:00:00 2001 From: Ruben Dashyan Date: Thu, 10 Oct 2019 16:19:28 +0200 Subject: [PATCH] [escher/expression_field] Remove unused reload() method --- escher/include/escher/expression_field.h | 1 - escher/src/expression_field.cpp | 5 ----- 2 files changed, 6 deletions(-) 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);