Skip to content
Permalink
Browse files

don't split QGIS_PLUGINPATH at colon on windows

git-svn-id: http://svn.osgeo.org/qgis/trunk@15073 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jan 25, 2011
1 parent 9707370 commit d80c90deda81425df40831bae98a66e10b4c754b
Showing with 6 additions and 4 deletions.
  1. +6 −4 src/python/qgspythonutilsimpl.cpp
@@ -441,12 +441,14 @@ QStringList QgsPythonUtilsImpl::extraPluginsPaths()
return QStringList();

QString paths = QString::fromLocal8Bit( cpaths );
if ( paths.contains( ';' ) ) // keep windows users happy
return paths.split( ';' );
else if ( paths.contains( ':' ) ) // keep unix users happy
#ifndef Q_OS_WIN
if ( paths.contains( ':' ) )
return paths.split( ':' );
#endif
if ( paths.contains( ';' ) )
return paths.split( ';' );
else
return QStringList( paths ); // just one path
return QStringList( paths );
}


0 comments on commit d80c90d

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