File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2801,7 +2801,7 @@ void QgsVectorLayer::removeExpressionField( int index )
2801
2801
emit attributeDeleted ( index );
2802
2802
}
2803
2803
2804
- const QString QgsVectorLayer::expressionField ( int index )
2804
+ QString QgsVectorLayer::expressionField ( int index )
2805
2805
{
2806
2806
int oi = mUpdatedFields .fieldOriginIndex ( index );
2807
2807
return mExpressionFieldBuffer ->expressions ().value ( oi ).expression ;
Original file line number Diff line number Diff line change @@ -595,7 +595,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
595
595
*
596
596
* @note added in 2.9
597
597
*/
598
- const QString expressionField ( int index );
598
+ QString expressionField ( int index );
599
599
600
600
/* *
601
601
* Changes the expression used to define an expression based (virtual) field
@@ -608,9 +608,10 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
608
608
*/
609
609
void updateExpressionField ( int index, const QString& exp );
610
610
611
- /* * Get the label object associated with this layer */
611
+ /* * Get the label rendering properties associated with this layer */
612
612
QgsLabel *label ();
613
613
614
+ /* * Get the label rendering properties associated with this layer */
614
615
const QgsLabel *label () const ;
615
616
616
617
QgsAttributeAction *actions () { return mActions ; }
You can’t perform that action at this time.
0 commit comments