Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing parameter documentation
  • Loading branch information
dmarteau authored and rldhont committed Dec 30, 2019
1 parent a2fa196 commit a25a1e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/qgsrelation.sip.in
Expand Up @@ -49,13 +49,13 @@ changed.
%End


static QgsRelation createFromXml( const QDomNode &node, QgsReadWriteContext &context, const QgsRelationContext &relcontext = QgsRelationContext() );
static QgsRelation createFromXml( const QDomNode &node, QgsReadWriteContext &context, const QgsRelationContext &relationContext = QgsRelationContext() );
%Docstring
Creates a relation from an XML structure. Used for reading .qgs projects.

:param node: The dom node containing the relation information
:param context: to pass project translator
:param context: a relation context
:param relationContext: a relation context

:return: A relation
%End
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsrelation.h
Expand Up @@ -120,11 +120,11 @@ class CORE_EXPORT QgsRelation
*
* \param node The dom node containing the relation information
* \param context to pass project translator
* \param context a relation context
* \param relationContext a relation context
*
* \returns A relation
*/
static QgsRelation createFromXml( const QDomNode &node, QgsReadWriteContext &context, const QgsRelationContext &relcontext = QgsRelationContext() );
static QgsRelation createFromXml( const QDomNode &node, QgsReadWriteContext &context, const QgsRelationContext &relationContext = QgsRelationContext() );

/**
* Writes a relation to an XML structure. Used for saving .qgs projects
Expand Down

0 comments on commit a25a1e8

Please sign in to comment.