Skip to content

Commit

Permalink
Fix #4444. Patch by Vaclav Petras
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Oct 31, 2011
1 parent e573ce9 commit d8dc04f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/qgspythonutilsimpl.cpp
Expand Up @@ -462,7 +462,7 @@ QStringList QgsPythonUtilsImpl::pluginList()

QString output;
evalString( "'\\n'.join(qgis.utils.available_plugins)", output );
return output.split( QChar( '\n' ) );
return output.split( QChar( '\n' ), QString::SkipEmptyParts );
}

QString QgsPythonUtilsImpl::getPluginMetadata( QString pluginName, QString function )
Expand Down Expand Up @@ -513,5 +513,5 @@ QStringList QgsPythonUtilsImpl::listActivePlugins()
{
QString output;
evalString( "'\\n'.join(qgis.utils.active_plugins)", output );
return output.split( QChar( '\n' ) );
return output.split( QChar( '\n' ), QString::SkipEmptyParts );
}

0 comments on commit d8dc04f

Please sign in to comment.