Skip to content

Commit

Permalink
Update documentation for setCustomProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed May 18, 2017
1 parent 6c48ab9 commit 4140681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions python/core/qgsmaplayer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,7 @@ Invoked by QgsProject.read().

void setCustomProperties( const QgsObjectCustomProperties &properties );
%Docstring
Set custom properties for layer.
\param properties The custom properties to set.
Set custom properties for layer. Current properties are dropped.
.. versionadded:: 3.0
%End

Expand Down
3 changes: 1 addition & 2 deletions src/core/qgsmaplayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,7 @@ class CORE_EXPORT QgsMapLayer : public QObject
*/
QVariant customProperty( const QString &value, const QVariant &defaultValue = QVariant() ) const;

/** Set custom properties for layer.
* \param properties The custom properties to set.
/** Set custom properties for layer. Current properties are dropped.
* \since QGIS 3.0
*/
void setCustomProperties( const QgsObjectCustomProperties &properties );
Expand Down

0 comments on commit 4140681

Please sign in to comment.