Skip to content

Commit 1fe91a5

Browse files
author
jef
committedJan 25, 2011
skip empty parts of QGIS_PLUGINPATH
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15079 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/python/qgspythonutilsimpl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,10 +443,10 @@ QStringList QgsPythonUtilsImpl::extraPluginsPaths()
443443
QString paths = QString::fromLocal8Bit( cpaths );
444444
#ifndef Q_OS_WIN
445445
if ( paths.contains( ':' ) )
446-
return paths.split( ':' );
446+
return paths.split( ':', QString::SkipEmptyParts );
447447
#endif
448448
if ( paths.contains( ';' ) )
449-
return paths.split( ';' );
449+
return paths.split( ';', QString::SkipEmptyParts );
450450
else
451451
return QStringList( paths );
452452
}

0 commit comments

Comments
 (0)
Please sign in to comment.