Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build errors on some toolchains
  • Loading branch information
elpaso committed Aug 18, 2021
1 parent 915349d commit 9e643aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/editform/qgsattributeeditoraction.cpp
Expand Up @@ -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" ) ) );
}
2 changes: 1 addition & 1 deletion src/core/editform/qgsattributeeditorelement.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 9e643aa

Please sign in to comment.