We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent e49661d commit f34c79cCopy full SHA for f34c79c
src/core/qgsproviderregistry.cpp
@@ -108,11 +108,8 @@ void QgsProviderRegistry::init()
108
fileRegexp.setPattern( filePattern );
109
}
110
111
- QListIterator<QFileInfo> it( mLibraryDirectory.entryInfoList() );
112
- while ( it.hasNext() )
+ Q_FOREACH ( const QFileInfo& fi, mLibraryDirectory.entryInfoList() )
113
{
114
- QFileInfo fi( it.next() );
115
-
116
if ( !fileRegexp.isEmpty() )
117
118
if ( fileRegexp.indexIn( fi.fileName() ) == -1 )
0 commit comments