From 49e8a187e105974e84725e8cc88de6c97060c390 Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Fri, 3 Nov 2017 09:52:09 +0100 Subject: [PATCH] WRG: shadow warning --- .../QtWidget/src/otbWrapperQtWidgetParameterList.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterList.cxx b/Modules/Wrappers/QtWidget/src/otbWrapperQtWidgetParameterList.cxx index 558f852f6b..5770106eee 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. -- GitLab