Skip to content

Commit

Permalink
skip empty parts of QGIS_PLUGINPATH
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15079 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 25, 2011
1 parent e0ff3a5 commit 1fe91a5
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 @@ -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 );
}
Expand Down

0 comments on commit 1fe91a5

Please sign in to comment.