Skip to content
Permalink
Browse files
Iterate over const
  • Loading branch information
elpaso committed Nov 13, 2017
1 parent 3b2228a commit 1ab20bd7e930af7755c5f7b9fb40ec789f24ed7e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -60,7 +60,7 @@ QgsDataSourceManagerDialog::QgsDataSourceManagerDialog( QgsBrowserModel *browser

// Add provider dialogs
const QList<QgsSourceSelectProvider *> sourceSelectProviders = QgsGui::sourceSelectProviderRegistry()->providers( );
for ( const auto provider : sourceSelectProviders )
for ( const auto &provider : sourceSelectProviders )
{
QgsAbstractDataSourceWidget *dlg = provider->createDataSourceWidget( this );
if ( !dlg )

0 comments on commit 1ab20bd

Please sign in to comment.