[partition] The sender QObject should be in scope so the bootloader path is written
This commit is contained in:
parent
fbe90c22af
commit
3e6001f098
@ -1106,7 +1106,7 @@ ChoicePage::createBootloaderComboBox( QWidget* parent )
|
|||||||
|
|
||||||
// When the chosen bootloader device changes, we update the choice in the PCM
|
// When the chosen bootloader device changes, we update the choice in the PCM
|
||||||
connect( bcb, static_cast< void (QComboBox::*)(int) >( &QComboBox::currentIndexChanged ),
|
connect( bcb, static_cast< void (QComboBox::*)(int) >( &QComboBox::currentIndexChanged ),
|
||||||
[this]( int newIndex )
|
this, [this]( int newIndex )
|
||||||
{
|
{
|
||||||
QComboBox* bcb = qobject_cast< QComboBox* >( sender() );
|
QComboBox* bcb = qobject_cast< QComboBox* >( sender() );
|
||||||
if ( bcb )
|
if ( bcb )
|
||||||
|
Loading…
Reference in New Issue
Block a user