From 9e1be4bb533f79411c18bf8261772aab37d7ba92 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 10:55:16 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/gui/vector/qgsattributesformproperties.cpp | 2 +- src/gui/vector/qgsattributesformproperties.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/vector/qgsattributesformproperties.cpp b/src/gui/vector/qgsattributesformproperties.cpp index 044e3d1f9083..d8ead10ccab7 100644 --- a/src/gui/vector/qgsattributesformproperties.cpp +++ b/src/gui/vector/qgsattributesformproperties.cpp @@ -2186,7 +2186,7 @@ void QgsAttributesFormProperties::pasteWidgetConfiguration() QgsReadWriteContext context; if ( widgetType == QLatin1String( "ValueRelation" ) ) { - optionsMap[ QStringLiteral( "Value" ) ] = context.projectTranslator()->translate( QStringLiteral( "project:layers:%1:fields:%2:valuerelationvalue" ).arg( mLayer->id(), fieldName ), optionsMap[ QStringLiteral( "Value" ) ].toString() ); + optionsMap[QStringLiteral( "Value" )] = context.projectTranslator()->translate( QStringLiteral( "project:layers:%1:fields:%2:valuerelationvalue" ).arg( mLayer->id(), fieldName ), optionsMap[QStringLiteral( "Value" )].toString() ); } config.mEditorWidgetType = widgetType; diff --git a/src/gui/vector/qgsattributesformproperties.h b/src/gui/vector/qgsattributesformproperties.h index a0703a88e8eb..9a610d55a878 100644 --- a/src/gui/vector/qgsattributesformproperties.h +++ b/src/gui/vector/qgsattributesformproperties.h @@ -473,7 +473,6 @@ class GUI_EXPORT QgsAttributesFormProperties : public QWidget, public QgsExpress QMenu *mAvailableWidgetsTreeContextMenu = nullptr; QAction *mActionCopyWidgetConfiguration = nullptr; QAction *mActionPasteWidgetConfiguration = nullptr; - };