Skip to content

Commit

Permalink
Remove default value for origin of property
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 9, 2017
1 parent ba9a84f commit ad1e158
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 104 deletions.
4 changes: 2 additions & 2 deletions python/core/qgsproperty.sip
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class QgsPropertyDefinition
Constructs an empty property.
%End

QgsPropertyDefinition( const QString &name, const QString &description, StandardPropertyTemplate type, const QString &origin = QStringLiteral( "labeling" ) );
QgsPropertyDefinition( const QString &name, const QString &description, StandardPropertyTemplate type, const QString &origin = QString() );
%Docstring
Constructor for QgsPropertyDefinition, using a standard property template.
\param name is used internally and should be a unique, alphanumeric string.
Expand All @@ -81,7 +81,7 @@ class QgsPropertyDefinition
\param origin The origin of the property
%End

QgsPropertyDefinition( const QString &name, DataType dataType, const QString &description, const QString &helpText, const QString &origin = QStringLiteral( "labeling" ) );
QgsPropertyDefinition( const QString &name, DataType dataType, const QString &description, const QString &helpText, const QString &origin = QString() );
%Docstring
Constructor for custom QgsPropertyDefinitions.
\param name is used internally and should be a unique, alphanumeric string.
Expand Down
Loading

0 comments on commit ad1e158

Please sign in to comment.