Skip to content

Commit

Permalink
Fix deprecated PUSH/POP
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Apr 17, 2019
1 parent 3d5e67e commit cb430c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsattributeform.cpp
Expand Up @@ -734,7 +734,7 @@ void QgsAttributeForm::onAttributeChanged( const QVariant &value )
{
Q_NOWARN_DEPRECATED_PUSH
emit attributeChanged( eww->field().name(), value );
Q_NOWARN_DEPRECATED_PUSH
Q_NOWARN_DEPRECATED_POP
emit widgetValueChanged( eww->field().name(), value, !mIsSettingFeature );

signalEmitted = true;
Expand Down Expand Up @@ -773,7 +773,7 @@ void QgsAttributeForm::onAttributeChanged( const QVariant &value )
{
Q_NOWARN_DEPRECATED_PUSH
emit attributeChanged( eww->field().name(), value );
Q_NOWARN_DEPRECATED_PUSH
Q_NOWARN_DEPRECATED_POP
emit widgetValueChanged( eww->field().name(), value, !mIsSettingFeature );
}
}
Expand Down

0 comments on commit cb430c1

Please sign in to comment.