diff --git a/Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterList.cxx b/Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterList.cxx index 558f852f6bf248374a6c83a51d43616dfb4dd1ec..5770106eeeab68b8ed66602717e520fc4e787c7b 100644 --- a/Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterList.cxx +++ b/Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterList.cxx @@ -72,14 +72,14 @@ QtWidgetParameterList // // Global Layout - QGridLayout * layout = new QGridLayout(); + QGridLayout * gLayout = new QGridLayout(); - layout->setSpacing( 1 ); - layout->setContentsMargins( 2, 2, 2, 2 ); + gLayout->setSpacing( 1 ); + gLayout->setContentsMargins( 2, 2, 2, 2 ); - layout->addWidget( widget ); + gLayout->addWidget( widget ); - setLayout( layout ); + setLayout( gLayout ); // // Connections.