Skip to content
Permalink
Browse files
DescribeFeatureType support namespace
  • Loading branch information
rldhont committed Nov 15, 2012
1 parent b1e02ee commit 565d2eb
Showing 1 changed file with 8 additions and 1 deletion.
@@ -253,7 +253,14 @@ void QgsProjectParser::describeFeatureType( const QString& aTypeName, QDomElemen
QStringList typeNameList;
if ( aTypeName != "" )
{
typeNameList = aTypeName.split( "," );
QStringList typeNameSplit = aTypeName.split( "," );
foreach (const QString &str, typeNameSplit)
{
if ( str.contains( ":" ) )
typeNameList << str.section(":", 1, 1 );
else
typeNameList << str;
}
}

foreach ( const QDomElement &elem, mProjectLayerElements )

0 comments on commit 565d2eb

Please sign in to comment.