Skip to content

Commit 0e3faf7

Browse files
committed
Doxygenation and small code fixes
1 parent 20ea3e2 commit 0e3faf7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/core/qgsvectorlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2801,7 +2801,7 @@ void QgsVectorLayer::removeExpressionField( int index )
28012801
emit attributeDeleted( index );
28022802
}
28032803

2804-
const QString QgsVectorLayer::expressionField( int index )
2804+
QString QgsVectorLayer::expressionField( int index )
28052805
{
28062806
int oi = mUpdatedFields.fieldOriginIndex( index );
28072807
return mExpressionFieldBuffer->expressions().value( oi ).expression;

src/core/qgsvectorlayer.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
595595
*
596596
* @note added in 2.9
597597
*/
598-
const QString expressionField( int index );
598+
QString expressionField( int index );
599599

600600
/**
601601
* Changes the expression used to define an expression based (virtual) field
@@ -608,9 +608,10 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
608608
*/
609609
void updateExpressionField( int index, const QString& exp );
610610

611-
/** Get the label object associated with this layer */
611+
/** Get the label rendering properties associated with this layer */
612612
QgsLabel *label();
613613

614+
/** Get the label rendering properties associated with this layer */
614615
const QgsLabel *label() const;
615616

616617
QgsAttributeAction *actions() { return mActions; }

0 commit comments

Comments
 (0)