Skip to content
Permalink
Browse files
Fix accidental int to QChar conversion in debug message
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 71a6eb7 commit c44e328885e486ec3bd7cf4c20d882fe2a9ce3ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsofflineediting.cpp
@@ -1128,7 +1128,7 @@ void QgsOfflineEditing::applyAttributeValueChanges( QgsVectorLayer *offlineLayer
for ( int i = 0; i < values.size(); i++ )
{
QgsFeatureId fid = remoteFid( db, layerId, values.at( i ).fid );
QgsDebugMsgLevel( QStringLiteral( "Offline changeAttributeValue %1 = %2" ).arg( QString( attrLookup[ values.at( i ).attr ] ), values.at( i ).value ), 4 );
QgsDebugMsgLevel( QStringLiteral( "Offline changeAttributeValue %1 = %2" ).arg( attrLookup[ values.at( i ).attr ] ).arg( values.at( i ).value ), 4 );

int remoteAttributeIndex = attrLookup[ values.at( i ).attr ];
QVariant attr = values.at( i ).value;

0 comments on commit c44e328

Please sign in to comment.