Skip to content

Commit

Permalink
Use qgis::overload
Browse files Browse the repository at this point in the history
elpaso committed May 28, 2019
1 parent 1626565 commit e7f8f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutatlaswidget.cpp
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ QgsLayoutAtlasWidget::QgsLayoutAtlasWidget( QWidget *parent, QgsPrintLayout *lay
{
mAtlasFileFormat->addItem( QString( formats.at( i ) ) );
}
connect( mAtlasFileFormat, static_cast<void ( QComboBox::* )( int )>( &QComboBox::currentIndexChanged ), this, [ = ]( int ) { changeFileFormat(); } );
connect( mAtlasFileFormat, qgis::overload<int>::of( &QComboBox::currentIndexChanged ), this, [ = ]( int ) { changeFileFormat(); } );

// Disconnect when layout is destroyed
connect( layout, &QgsPrintLayout::destroyed, [ = ]

0 comments on commit e7f8f2b

Please sign in to comment.