From 82243914de450e124753195cb165eec5fdf72efc Mon Sep 17 00:00:00 2001
From: Philip <philm@manjaro.org>
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 daa64ce11e..b700a24aa3 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 )
-- 
GitLab