Skip to content

Commit 96173d7

Browse files
committedMay 3, 2018
use literal
1 parent b0d5506 commit 96173d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/mesh/qgsmeshlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ bool QgsMeshLayer::writeXml( QDomNode &layer_node, QDomDocument &document, const
233233
// first get the layer element so that we can append the type attribute
234234
QDomElement mapLayerNode = layer_node.toElement();
235235

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

0 commit comments

Comments
 (0)
Please sign in to comment.