mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[dxf] followup 31e93aecae fix server
This commit is contained in:
parent
338a73b32e
commit
53f4464b53
@ -767,7 +767,7 @@ namespace QgsWms
|
||||
QStringList wfsLayerIds = QgsServerProjectUtils::wfsLayerIds( *mProject );
|
||||
|
||||
// get dxf layers
|
||||
QList< QPair<QgsVectorLayer *, int > > dxfLayers;
|
||||
QList< QgsDxfExport::DxfLayer > dxfLayers;
|
||||
int layerIdx = -1;
|
||||
Q_FOREACH ( QgsMapLayer *layer, layers )
|
||||
{
|
||||
@ -801,7 +801,7 @@ namespace QgsWms
|
||||
layerAttribute = vlayer->fields().indexFromName( layerAttributes.at( layerIdx ) );
|
||||
}
|
||||
|
||||
dxfLayers.append( qMakePair( vlayer, layerAttribute ) );
|
||||
dxfLayers.append( QgsDxfExport::DxfLayer( vlayer, layerAttribute ) );
|
||||
}
|
||||
|
||||
// add layers to dxf
|
||||
|
Loading…
x
Reference in New Issue
Block a user