mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
use literal
This commit is contained in:
parent
b0d550628b
commit
96173d7c31
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user