Commit d2d0350a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Remove unreachable code.

parent 09630cc1
......@@ -1008,16 +1008,8 @@ KeySelectorControl::KeySelectorControl( vlc_object_t *_p_this,
gLayout->addWidget( shortcutValue, 3, 1, 1, 2 );
gLayout->addWidget( setButton, 3, 3, 1, 1 );
if( !l ) /* This shouldn't happen */
{
QVBoxLayout *layout = new QVBoxLayout();
layout->addWidget( label, 0 ); layout->addWidget( table, 1 );
widget->setLayout( layout );
}
else
{
l->addWidget( keyContainer, line, 0, 1, 2 );
}
l->addWidget( keyContainer, line, 0, 1, 2 );
CONNECT( clearButton, clicked(), shortcutValue, clear() );
BUTTONACT( setButton, setTheKey() );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment