From 3e6001f09856b8695b4332b3fd8524ecbd3141ff Mon Sep 17 00:00:00 2001 From: Philip Date: Wed, 11 Jan 2017 14:00:47 +0100 Subject: [PATCH] [partition] The sender QObject should be in scope so the bootloader path is written --- src/modules/partition/gui/ChoicePage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index daa64ce11..b700a24aa 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -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 )