Commit 614b8fe8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Initialize the payload size when sending a package with payload

parent 24c4a6ab
......@@ -73,7 +73,7 @@ QByteArray NetworkPackage::serialize() const
if (hasPayload()) {
//kDebug(kdeconnect_kded()) << "Serializing payloadTransferInfo";
variant["payloadSize"] = 0;
variant["payloadSize"] = payloadSize();
variant["payloadTransferInfo"] = mPayloadTransferInfo;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment