[apps/escher] Changed setExpression to setExpressionLayout.

Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
This commit is contained in:
Léa Saviot
2017-12-05 17:45:54 +01:00
parent be9cde8ca4
commit 4ad3adaab2
29 changed files with 43 additions and 43 deletions

View File

@@ -90,7 +90,7 @@ void ListController::willDisplayTitleCellAtIndex(HighlightCell * cell, int j) {
void ListController::willDisplayExpressionCellAtIndex(HighlightCell * cell, int j) {
FunctionExpressionCell * myCell = (FunctionExpressionCell *)cell;
Function * f = m_functionStore->functionAtIndex(j);
myCell->setExpression(f->layout());
myCell->setExpressionLayout(f->layout());
bool active = f->isActive();
KDColor textColor = active ? KDColorBlack : Palette::GreyDark;
myCell->setTextColor(textColor);