From 8a408f6863727348f86c9e85076962adea555111 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Fri, 16 Aug 2019 08:08:14 +0200 Subject: [PATCH] Update src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp --- src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp b/src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp index 579dc9b00fb6..65d527374c4f 100644 --- a/src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp +++ b/src/core/fieldformatter/qgsvaluerelationfieldformatter.cpp @@ -180,7 +180,7 @@ QStringList QgsValueRelationFieldFormatter::valueToStringList( const QVariant &v if ( value.type() == QVariant::String ) { // This must be an array representation - auto newVal { value }; + QVariant newVal { value }; if ( newVal.toString().trimmed().startsWith( '{' ) ) { //normal case