Navigation Menu

Skip to content

Commit

Permalink
Use qgis::overload
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed May 28, 2019
1 parent 254569d commit f62eee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/layout/qgslayoutatlaswidget.cpp
Expand Up @@ -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, [ = ]
Expand Down

0 comments on commit f62eee9

Please sign in to comment.