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 authored and mach0 committed Nov 13, 2011
1 parent 61dfe66 commit 73752e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/qgspythonutilsimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down Expand Up @@ -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.