Skip to content

Commit dea03b2

Browse files
authored
Merge pull request #6925 from PeterPetrik/use_literal
use literal in qgsmeshlayer.cpp
2 parents b0d5506 + 96173d7 commit dea03b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)