Skip to content

Commit

Permalink
Q_FOREACH removal
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Sep 5, 2017
1 parent 41eccd1 commit e43cb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgssourceselectproviderregistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ void QgsSourceSelectProviderRegistry::init()
{
return;
}
QStringList providersList = QgsProviderRegistry::instance()->providerList();
Q_FOREACH ( const QString &key, providersList )
const QStringList providersList = QgsProviderRegistry::instance()->providerList();
for ( const QString &key : providersList )
{
std::unique_ptr< QLibrary > library( QgsProviderRegistry::instance()->createProviderLibrary( key ) );
if ( !library )
Expand Down

1 comment on commit e43cb79

@luipir
Copy link
Contributor

@luipir luipir commented on e43cb79 Sep 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how fast ;)

Please sign in to comment.