Skip to content
Snippets Groups Projects
Commit 66853c15 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

WAR : unused variable

parent bbcf1c68
No related branches found
No related tags found
No related merge requests found
......@@ -399,7 +399,6 @@ ParameterGroup::GetParameterByKey(std::string name)
{
// Check that splittedName[1] is one of the choice
ParameterGroup::Pointer associatedParam;
unsigned int nbChoices = parentAsChoice->GetNbChoices();
// will throw if splittedName[1] is not a choice key
associatedParam = parentAsChoice->GetChoiceParameterGroupByKey(splittedName[1]);
......
......@@ -60,6 +60,8 @@ void QtWidgetListViewParameter::DoCreateWidget()
m_ListView = new QListWidget();
m_ListView->setToolTip(m_ListViewParam->GetDescription());
m_ListView->setSelectionMode(QAbstractItemView::MultiSelection);
m_ListView->setResizeMode(QListView::Adjust);
//m_ListView->resize(m_ListView->width(), 5);
connect( m_ListView, SIGNAL(itemSelectionChanged()), this, SLOT(SelectedItems()) );
connect( GetModel(), SIGNAL(UpdateGui()), this, SLOT(UpdateGUI() ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment