qgis_loading_python_plugins.diff

path - Vaclav Petras, 2011-10-26 12:49 AM

Download (817 Bytes)

View differences:

src/python/qgspythonutilsimpl.cpp
462 462

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

  
468 468
QString QgsPythonUtilsImpl::getPluginMetadata( QString pluginName, QString function )
......
513 513
{
514 514
  QString output;
515 515
  evalString( "'\\n'.join(qgis.utils.active_plugins)", output );
516
  return output.split( QChar( '\n' ) );
516
  return output.split( QChar( '\n' ), QString::SkipEmptyParts );
517 517
}