Skip to content
Permalink
Browse files

skip empty parts of QGIS_PLUGINPATH

git-svn-id: http://svn.osgeo.org/qgis/trunk@15079 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jan 25, 2011
1 parent 124ab99 commit 8087f64025ee20fc15bbb062933b4791c7726a6b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/python/qgspythonutilsimpl.cpp
@@ -443,10 +443,10 @@ QStringList QgsPythonUtilsImpl::extraPluginsPaths()
QString paths = QString::fromLocal8Bit( cpaths );
#ifndef Q_OS_WIN
if ( paths.contains( ':' ) )
return paths.split( ':' );
return paths.split( ':', QString::SkipEmptyParts );
#endif
if ( paths.contains( ';' ) )
return paths.split( ';' );
return paths.split( ';', QString::SkipEmptyParts );
else
return QStringList( paths );
}

0 comments on commit 8087f64

Please sign in to comment.
You can’t perform that action at this time.