mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Remove debug noise for expression labels
This commit is contained in:
parent
9b2bf0afd6
commit
f5bf2b4110
@ -471,14 +471,13 @@ void QgsPalLayerSettings::registerFeature( QgsVectorLayer* layer, QgsFeature& f
|
||||
QgsExpression* exp = getLabelExpression();
|
||||
if ( exp->hasParserError() )
|
||||
{
|
||||
QgsDebugMsg( "PASER HAS ERROR:" + exp->parserErrorString() );
|
||||
QgsDebugMsg( "Expression parser error:" + exp->parserErrorString() );
|
||||
return;
|
||||
}
|
||||
QVariant result = exp->evaluate( &f, layer->dataProvider()->fields() );
|
||||
QgsDebugMsg( "VALUE = " + result.toString() );
|
||||
if ( exp->hasEvalError() )
|
||||
{
|
||||
QgsDebugMsg( "Expression Label Error = " + exp->evalErrorString() );
|
||||
QgsDebugMsg( "Expression parser eval error:" + exp->evalErrorString() );
|
||||
return;
|
||||
}
|
||||
labelText = result.toString();
|
||||
|
Loading…
x
Reference in New Issue
Block a user