Skip to content
Permalink
Browse files

QgsDataDefined: be less restrictive in constructor

If one has a method

    setValue( QgsDataDefined dd );

One can now do

    setValue( 40 )

While before it had to be

    setValue( QString( "40" ) )
  • Loading branch information
m-kuhn committed Jan 14, 2016
1 parent e1adc63 commit 532259f84a25e27f1f259d8fcd2f60d47488eec7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsdatadefined.h
@@ -63,7 +63,7 @@ class CORE_EXPORT QgsDataDefined
* @param string field reference or an expression, can be empty
* @note added in QGIS 2.9
*/
explicit QgsDataDefined( const QString& string );
QgsDataDefined( const QString& string );

/**
* Copy constructor. Note that copies of data defined objects with expressions

0 comments on commit 532259f

Please sign in to comment.
You can’t perform that action at this time.