Skip to content
Permalink
Browse files
Fix build errors on some toolchains
  • Loading branch information
elpaso committed Aug 18, 2021
1 parent 915349d commit 9e643aae6fff7186aeb49c493a7c62109c963c6c
@@ -69,5 +69,5 @@ void QgsAttributeEditorAction::loadConfiguration( const QDomElement &element, co
Q_UNUSED( layerId )
Q_UNUSED( context )
Q_UNUSED( fields )
mUuid = element.attribute( QStringLiteral( "ActionUUID" ) );
mUuid = QUuid( element.attribute( QStringLiteral( "ActionUUID" ) ) );
}
@@ -76,7 +76,7 @@ QgsAttributeEditorElement *QgsAttributeEditorElement::create( const QDomElement
}
else if ( element.tagName() == QLatin1String( "attributeEditorAction" ) )
{
newElement = new QgsAttributeEditorAction( element.attribute( QStringLiteral( "name" ) ), parent );
newElement = new QgsAttributeEditorAction( QUuid( element.attribute( QStringLiteral( "name" ) ) ), parent );
}

if ( newElement )

0 comments on commit 9e643aa

Please sign in to comment.