[apps/calculation] Remove redundancy

In HistoryController::willDisplayCellForIndex, both setCalculation and
reloadCell end up calling ScrollableExpressionView::layoutSubviews.
Indeed, setCalculation calls setLayout over m_inputView, which in turn
calls layoutSubviews. It is logical to remove the first occurence.
This commit is contained in:
Ruben Dashyan
2019-02-07 16:13:03 +01:00
committed by EmilieNumworks
parent 08e8bf0eeb
commit 7a977f5689

View File

@@ -12,7 +12,6 @@ ScrollableExpressionView::ScrollableExpressionView(Responder * parentResponder)
void ScrollableExpressionView::setLayout(Layout layout) {
m_expressionView.setLayout(layout);
layoutSubviews();
}
void ScrollableExpressionView::setBackgroundColor(KDColor backgroundColor) {