mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
The sender QObject should be in scope so the bootloader path is written.
CAL-388 CAL-417 CAL-441
This commit is contained in:
parent
f6760b223a
commit
f3848cd428
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue