From b82c72ea0dc4872c7cf36434fc64af5b599a8db4 Mon Sep 17 00:00:00 2001 From: Cyrille Valladeau <cyrille.valladeau@c-s.fr> Date: Wed, 26 Oct 2011 15:00:35 +0200 Subject: [PATCH] ERR: fast compile, compilation error --- Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx index 6248bfecd1..5d44c3c3f0 100644 --- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx +++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx @@ -247,10 +247,6 @@ void QtWidgetView::GetDocParameterGroup( std::string & val, const std::string & spaces0.append("   "); equal0.append("==="); } - std::string spaces1(space0); - spaces1.append("   "); - std::string equal1(equal0); - equal1.append("==="); Parameter * paramGr = m_Application->GetParameterByKey( key ); if( !dynamic_cast<ParameterGroup *>(paramGr) ) @@ -276,7 +272,7 @@ void QtWidgetView::GetDocParameterGroup( std::string & val, const std::string & { oss << "<b><i>"<<param->GetName()<<"</i></b> ("<<param->GetDescription()<<")<br />"; std::string grDoc; - GetDocParameterGroup( grDoc, fullKey); + GetDocParameterGroup( grDoc, fullKey, level+1); oss<<grDoc; } } -- GitLab