Skip to content

Commit

Permalink
fix implicit capture of 'this' with a capture default of '=' is depre…
Browse files Browse the repository at this point in the history
…cated
  • Loading branch information
3nids committed Oct 8, 2024
1 parent 440d1e7 commit 6c68cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/settings/qgssettingseditorwidgetwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ void QgsSettingsEditorWidgetWrapper::configureAutomaticUpdate( QDialog *dialog )
setWidgetFromSetting();
if ( dialog )
{
QObject::connect( dialog, &QDialog::accepted, this, [ = ]()
QObject::connect( dialog, &QDialog::accepted, this, [this]()
{
setSettingFromWidget();
this->setSettingFromWidget();
} );
}
else
Expand Down

0 comments on commit 6c68cf8

Please sign in to comment.