Compilation fix

This commit is contained in:
Marco Hugentobler 2015-05-26 11:12:40 +02:00
parent 0c4ea1f6e5
commit e2edc54f11

View File

@ -6577,7 +6577,7 @@ void QgisApp::pasteStyle( QgsMapLayer * destinationLayer )
QDomElement rootNode = doc.firstChildElement( "qgis" );
//Test for matching geometry type on vector layers when pasting
if (selectionLayer->type() == QgsMapLayer::LayerType::VectorLayer)
if (selectionLayer->type() == QgsMapLayer::VectorLayer)
{
QgsVectorLayer *selectionVectorLayer = static_cast<QgsVectorLayer*>(selectionLayer);
int pasteLayerGeometryType = doc.elementsByTagName("layerGeometryType").item(0).toElement().text().toInt();