From 26a45c5f52783d8b105259df69ccf79dc4e6b414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 8 Jun 2017 17:35:33 +0200 Subject: [PATCH] [apps/sequence] Clean term sum controller Change-Id: Ide724bbf8aafe01f5685f9126feae29a0099b810 --- apps/sequence/graph/term_sum_controller.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/sequence/graph/term_sum_controller.cpp b/apps/sequence/graph/term_sum_controller.cpp index 60c8aad04..f7ef67f30 100644 --- a/apps/sequence/graph/term_sum_controller.cpp +++ b/apps/sequence/graph/term_sum_controller.cpp @@ -203,7 +203,6 @@ void TermSumController::LegendView::setSumSubscript(float start) { m_sumLayout = new CondensedSumLayout(new StringLayout(sigma, 2), new StringLayout(buffer, strlen(buffer), KDText::FontSize::Small), nullptr); m_sum.setExpression(m_sumLayout); m_sum.setAlignment(0.0f, 0.5f); - layoutSubviews(); } void TermSumController::LegendView::setSumSuperscript(float start, float end) { @@ -219,7 +218,6 @@ void TermSumController::LegendView::setSumSuperscript(float start, float end) { m_sumLayout = new CondensedSumLayout(new StringLayout(sigma, 2), new StringLayout(bufferStart, strlen(bufferStart), KDText::FontSize::Small), new StringLayout(bufferEnd, strlen(bufferEnd), KDText::FontSize::Small)); m_sum.setExpression(m_sumLayout); m_sum.setAlignment(0.0f, 0.5f); - layoutSubviews(); } void TermSumController::LegendView::setSumResult(const char * sequenceName, float result) { @@ -233,7 +231,6 @@ void TermSumController::LegendView::setSumResult(const char * sequenceName, floa m_sumLayout = new HorizontalLayout(childrenLayouts, 3); m_sum.setExpression(m_sumLayout); m_sum.setAlignment(0.5f, 0.5f); - layoutSubviews(); } int TermSumController::LegendView::numberOfSubviews() const {