Skip to content

Commit

Permalink
Doxygenation and small code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Feb 5, 2016
1 parent 20ea3e2 commit 0e3faf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2801,7 +2801,7 @@ void QgsVectorLayer::removeExpressionField( int index )
emit attributeDeleted( index );
}

const QString QgsVectorLayer::expressionField( int index )
QString QgsVectorLayer::expressionField( int index )
{
int oi = mUpdatedFields.fieldOriginIndex( index );
return mExpressionFieldBuffer->expressions().value( oi ).expression;
Expand Down
5 changes: 3 additions & 2 deletions src/core/qgsvectorlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
*
* @note added in 2.9
*/
const QString expressionField( int index );
QString expressionField( int index );

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

/** Get the label object associated with this layer */
/** Get the label rendering properties associated with this layer */
QgsLabel *label();

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

QgsAttributeAction *actions() { return mActions; }
Expand Down

0 comments on commit 0e3faf7

Please sign in to comment.