Skip to content
Permalink
Browse files

Fix #4444. Patch by Vaclav Petras

  • Loading branch information
wonder-sk committed Oct 31, 2011
1 parent e573ce9 commit d8dc04f5741a6cf64a39ef80b63cbdbf68524d22
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/python/qgspythonutilsimpl.cpp
@@ -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 )
@@ -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.
You can’t perform that action at this time.