mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Allow null collection license
This commit is contained in:
parent
6a273f0e89
commit
298734ff86
@ -124,7 +124,7 @@ QgsStacCollection *QgsStacParser::collection()
|
||||
|
||||
const QString id( QString::fromStdString( mData.at( "id" ) ) );
|
||||
const QString description( QString::fromStdString( mData.at( "description" ) ) );
|
||||
const QString license( QString::fromStdString( mData.at( "license" ) ) );
|
||||
const QString license( mData.at( "license" ).is_null() ? QString() : QString::fromStdString( mData.at( "license" ) ) );
|
||||
|
||||
QgsStacExtent stacExtent;
|
||||
int totalExtents = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user