aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-28 09:07:37 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-28 09:08:18 +0100
commit418b85c285fa0a0c196a26eef5cc0c9c3dbe20fe (patch)
treecb12e9b8e831a8a3172101be904b778bfbae2cc1 /lib
parent0d9428bfbd997ac2073a470e59749cda81e0b213 (diff)
downloadlibquotient-418b85c285fa0a0c196a26eef5cc0c9c3dbe20fe.tar.gz
libquotient-418b85c285fa0a0c196a26eef5cc0c9c3dbe20fe.zip
EventContent::FileInfo: default payloadSize to 0
Fixes a clang-tidy warning.
Diffstat (limited to 'lib')
-rw-r--r--lib/events/eventcontent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/eventcontent.h b/lib/events/eventcontent.h
index f609a603..f6dbd4bf 100644
--- a/lib/events/eventcontent.h
+++ b/lib/events/eventcontent.h
@@ -105,7 +105,7 @@ namespace EventContent {
QJsonObject originalInfoJson;
QMimeType mimeType;
QUrl url;
- qint64 payloadSize;
+ qint64 payloadSize = 0;
QString originalName;
Omittable<EncryptedFile> file = none;
};