Skip to content
Permalink
Browse files

Fix deprecation warnings

  • Loading branch information
nyalldawson committed Jul 14, 2020
1 parent 4d91e67 commit b4c21fa44e25c23c9ee542f56f031b3de1a94fea
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/gui/editorwidgets/qgsrelationwidgetwrapper.cpp
@@ -101,20 +101,25 @@ void QgsRelationWidgetWrapper::widgetValueChanged( const QString &attribute, con

bool QgsRelationWidgetWrapper::showUnlinkButton() const
{
Q_NOWARN_DEPRECATED_PUSH
return mWidget->showUnlinkButton();
Q_NOWARN_DEPRECATED_POP
}

void QgsRelationWidgetWrapper::setShowUnlinkButton( bool showUnlinkButton )
{
Q_NOWARN_DEPRECATED_PUSH
if ( mWidget )
mWidget->setShowUnlinkButton( showUnlinkButton );
Q_NOWARN_DEPRECATED_POP
}


void QgsRelationWidgetWrapper::setShowSaveChildEditsButton( bool showSaveChildEditsButton )
{
Q_NOWARN_DEPRECATED_PUSH
if ( mWidget )
mWidget->setShowSaveChildEditsButton( showSaveChildEditsButton );
Q_NOWARN_DEPRECATED_POP
}

bool QgsRelationWidgetWrapper::showLabel() const

0 comments on commit b4c21fa

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