mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
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" ) )
This commit is contained in:
parent
e1adc6379f
commit
532259f84a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user