diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetView.cxx index 6248bfecd1e7256fd58e233813fca1283e8a6ca5..5d44c3c3f0126fd6836ab0bbe3dde978ca55fbbe 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; } }