Skip to content

Commit

Permalink
fix unused arg warning
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 23, 2023
1 parent 62387fd commit 916cbb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmergeattributesdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ QComboBox *QgsMergeAttributesDialog::createMergeComboBox( QVariant::Type columnT
newComboBox->addItem( tr( "Skip Attribute" ), QStringLiteral( "skip" ) );
newComboBox->addItem( tr( "Manual Value" ), QStringLiteral( "manual" ) );

connect( newComboBox, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, [ = ]( int index )
connect( newComboBox, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, [ = ]()
{
bool isManual = newComboBox->currentData() == QStringLiteral( "manual" );
updateManualWidget( column, isManual );
Expand Down

0 comments on commit 916cbb8

Please sign in to comment.