We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 9f1e336 commit 81b0e89Copy full SHA for 81b0e89
src/core/qgsfeatureexpressionvaluesgatherer.h
@@ -21,6 +21,7 @@
21
#include "qgslogger.h"
22
#include "qgsvectorlayer.h"
23
#include "qgsvectorlayerfeatureiterator.h"
24
+#include "qgsexpressioncontextutils.h"
25
26
#define SIP_NO_FILE
27
@@ -52,6 +53,7 @@ class QgsFeatureExpressionValuesGatherer: public QThread
52
53
const QStringList &identifierFields = QStringList() )
54
: mSource( new QgsVectorLayerFeatureSource( layer ) )
55
, mDisplayExpression( displayExpression.isEmpty() ? layer->displayExpression() : displayExpression )
56
+ , mExpressionContext( QgsExpressionContextUtils::globalProjectLayerScopes( layer ) )
57
, mRequest( request )
58
, mIdentifierFields( identifierFields )
59
{
0 commit comments