Skip to content

Commit

Permalink
Windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 13, 2021
1 parent fd9c00b commit 52950b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/qgspythonutilsimpl.cpp
Expand Up @@ -74,8 +74,9 @@ bool QgsPythonUtilsImpl::checkSystemImports()
// use os.path.expanduser to support usernames with special characters (see #2512)
QStringList pluginpaths;
const QStringList extraPaths = extraPluginsPaths();
for ( const QString p : extraPaths )
for ( const QString &path : extraPaths )
{
QString p = path;
if ( !QDir( p ).exists() )
{
QgsMessageOutput *msg = QgsMessageOutput::createMessageOutput();
Expand Down

0 comments on commit 52950b8

Please sign in to comment.