Skip to content
Permalink
Browse files
Fix #4444. Patch by Vaclav Petras
  • Loading branch information
wonder-sk authored and mach0 committed Nov 13, 2011
1 parent 61dfe66 commit 73752e6190ced457361aff152f37722d37311876
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/python/qgspythonutilsimpl.cpp
@@ -458,7 +458,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 )
@@ -509,5 +509,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 73752e6

Please sign in to comment.