From 091fbd8d72263c0bdba0ad9b3c154eb33f9e13b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 15 Sep 2016 09:54:11 +0200 Subject: [PATCH] [Graph] clean the function cell Change-Id: I91b5c3754367aef9b58d108bf90f96e3f036f595 --- apps/graph/list/function_cell.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/graph/list/function_cell.cpp b/apps/graph/list/function_cell.cpp index 59a59ccd1..2ecb62590 100644 --- a/apps/graph/list/function_cell.cpp +++ b/apps/graph/list/function_cell.cpp @@ -14,12 +14,7 @@ void FunctionCell::drawRect(KDContext * ctx, KDRect rect) const { KDColor background = m_even ? KDColor(0xEEEEEE) : KDColor(0x777777); ctx->fillRect(rect, background); ctx->drawString(m_function->text(), KDPointZero, m_focused); - m_function->layout()->draw(ctx, KDPointZero); - //Expression * foo = Expression::parse("1+2/3"); - //ExpressionLayout * fooLayout = foo->createLayout(); - //fooLayout->draw(ctx, KDPointZero); - //delete fooLayout; - //delete foo; + // m_function->layout()->draw(ctx, KDPointZero); } void FunctionCell::setFunction(Graph::Function * f) {