mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
DescribeFeatureType support namespace
This commit is contained in:
parent
b1e02ee521
commit
565d2eb8b7
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user