Skip to content
Permalink
Browse files

Add QStringLiteral

  • Loading branch information
m-kuhn authored and nyalldawson committed Jun 8, 2020
1 parent ebc9c31 commit 83b974a5fe15135cad453635cb988de21dabf517
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmaptoolcapture.cpp
@@ -53,7 +53,7 @@ QgsMapToolCapture::QgsMapToolCapture( QgsMapCanvas *canvas, QgsAdvancedDigitizin

QgsVectorLayer::LayerOptions layerOptions;
layerOptions.skipCrsValidation = true;
mExtraSnapLayer = new QgsVectorLayer( "LineString?crs=0", "extra snap", "memory", layerOptions );
mExtraSnapLayer = new QgsVectorLayer( QStringLiteral( "LineString?crs=0" ), QStringLiteral( "extra snap" ), QStringLiteral( "memory" ), layerOptions );
mExtraSnapLayer->startEditing();
QgsFeature f;
mExtraSnapLayer->addFeature( f );

0 comments on commit 83b974a

Please sign in to comment.
You can’t perform that action at this time.