Skip to content
Permalink
Browse files

Doxygenation and small code fixes

  • Loading branch information
m-kuhn committed Feb 5, 2016
1 parent 20ea3e2 commit 0e3faf7c176e2c5c313574ff82214e68b2a0a361
Showing with 4 additions and 3 deletions.
  1. +1 −1 src/core/qgsvectorlayer.cpp
  2. +3 −2 src/core/qgsvectorlayer.h
@@ -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;
@@ -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
@@ -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; }

0 comments on commit 0e3faf7

Please sign in to comment.
You can’t perform that action at this time.