mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Revert "Remove virtual method from class which shouldn't be subclassed"
This reverts commit 858129ddd3072d633e0abd97e1a45fe880f4cfb2. I remember now... that was added to avoid a totally nonsense and otherwise unfixable crash in the sip bindings...
This commit is contained in:
parent
7b3859bdea
commit
cb68c982b8
@ -80,6 +80,8 @@ class QgsProperty
|
|||||||
};
|
};
|
||||||
|
|
||||||
QgsProperty();
|
QgsProperty();
|
||||||
|
virtual ~QgsProperty();
|
||||||
|
|
||||||
static QgsProperty fromExpression( const QString& expression, bool isActive = true );
|
static QgsProperty fromExpression( const QString& expression, bool isActive = true );
|
||||||
static QgsProperty fromField( const QString& fieldName, bool isActive = true );
|
static QgsProperty fromField( const QString& fieldName, bool isActive = true );
|
||||||
static QgsProperty fromValue( const QVariant& value, bool isActive = true );
|
static QgsProperty fromValue( const QVariant& value, bool isActive = true );
|
||||||
|
@ -201,6 +201,8 @@ class CORE_EXPORT QgsProperty
|
|||||||
*/
|
*/
|
||||||
QgsProperty();
|
QgsProperty();
|
||||||
|
|
||||||
|
virtual ~QgsProperty() = default;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a new ExpressionBasedProperty created from the specified expression.
|
* Returns a new ExpressionBasedProperty created from the specified expression.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user