Skip to content
Permalink
Browse files

Fix deprecated PUSH/POP

  • Loading branch information
elpaso authored and nyalldawson committed Mar 21, 2019
1 parent 3d5e67e commit cb430c143e218471b6c051f2ef776f794c81c21f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsattributeform.cpp
@@ -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;
@@ -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 );
}
}

0 comments on commit cb430c1

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