Skip to content
Permalink
Browse files

use literal

  • Loading branch information
PeterPetrik committed May 3, 2018
1 parent b0d5506 commit 96173d7c31e7e97e8d708b31d6a781728f9611a6
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 96173d7

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