The sender QObject should be in scope so the bootloader path is written.

CAL-388
CAL-417
CAL-441
This commit is contained in:
Teo Mrnjavac 2017-01-10 14:42:36 +01:00
parent f6760b223a
commit f3848cd428

View File

@ -1106,7 +1106,7 @@ ChoicePage::createBootloaderComboBox( QWidget* parent )
// When the chosen bootloader device changes, we update the choice in the PCM
connect( bcb, static_cast< void (QComboBox::*)(int) >( &QComboBox::currentIndexChanged ),
[this]( int newIndex )
this, [this]( int newIndex )
{
QComboBox* bcb = qobject_cast< QComboBox* >( sender() );
if ( bcb )