mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
[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:
committed by
EmilieNumworks
parent
08e8bf0eeb
commit
7a977f5689
@@ -12,7 +12,6 @@ ScrollableExpressionView::ScrollableExpressionView(Responder * parentResponder)
|
||||
|
||||
void ScrollableExpressionView::setLayout(Layout layout) {
|
||||
m_expressionView.setLayout(layout);
|
||||
layoutSubviews();
|
||||
}
|
||||
|
||||
void ScrollableExpressionView::setBackgroundColor(KDColor backgroundColor) {
|
||||
|
||||
Reference in New Issue
Block a user