Skip to content
Permalink
Browse files
Compilation fix
  • Loading branch information
mhugent committed May 26, 2015
1 parent 0c4ea1f commit e2edc54f115edf35391d20e203e1fb05f98e4d0e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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();

0 comments on commit e2edc54

Please sign in to comment.