Skip to content
Permalink
Browse files
Merge pull request #6925 from PeterPetrik/use_literal
use literal in qgsmeshlayer.cpp
  • Loading branch information
m-kuhn committed May 3, 2018
2 parents b0d5506 + 96173d7 commit dea03b2beff7322d42d89f85bcaab98600350f7a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/mesh/qgsmeshlayer.cpp
@@ -233,7 +233,7 @@ bool QgsMeshLayer::writeXml( QDomNode &layer_node, QDomDocument &document, const
// first get the layer element so that we can append the type attribute
QDomElement mapLayerNode = layer_node.toElement();

if ( mapLayerNode.isNull() || ( "maplayer" != mapLayerNode.nodeName() ) )
if ( mapLayerNode.isNull() || ( QLatin1String( "maplayer" ) != mapLayerNode.nodeName() ) )
{
QgsDebugMsgLevel( QStringLiteral( "can't find <maplayer>" ), 2 );
return false;

0 comments on commit dea03b2

Please sign in to comment.