Add the missing 'return' to QProtobufSerializerPrivate::serializeProperty

If we are confident that the property is message, we shouldn't attempt
to look for other serializers.

Pick-to: 6.7
Change-Id: I61c76d9dc2c43d5b8a91627d1e3a7aaebbb8d166
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Alexey Edelev 2024-05-20 14:00:59 +02:00
parent 1d05733e7e
commit 88ac04344f
1 changed files with 1 additions and 0 deletions

View File

@ -569,6 +569,7 @@ void QProtobufSerializerPrivate::serializeProperty(const QVariant &propertyValue
store.append(QProtobufSerializerPrivate::serializeVarintCommon<uint32_t>(result.size()));
store.append(result);
result = store;
return;
}
auto basicHandler = findIntegratedTypeHandler(