diff --git a/src/modules/partition/gui/ChoicePage.cpp b/src/modules/partition/gui/ChoicePage.cpp index 135a2ec4b..60280dda3 100644 --- a/src/modules/partition/gui/ChoicePage.cpp +++ b/src/modules/partition/gui/ChoicePage.cpp @@ -221,7 +221,7 @@ ChoicePage::setupChoices() m_itemsLayout->addStretch(); connect( m_grp, static_cast< void( QButtonGroup::* )( int, bool ) >( &QButtonGroup::buttonToggled ), - this, [ this, m_grp ]( int id, bool checked ) + this, [ this ]( int id, bool checked ) { if ( checked ) // An action was picked. {