diff --git a/src/libs/registry/docset.h b/src/libs/registry/docset.h index 7ff699dd..6456fc73 100644 --- a/src/libs/registry/docset.h +++ b/src/libs/registry/docset.h @@ -107,7 +107,7 @@ class Docset final QString m_title; QStringList m_keywords; QString m_version; - int m_revision; + int m_revision = 0; QString m_feedUrl; Docset::Type m_type = Type::Invalid; QString m_path; diff --git a/src/libs/registry/docsetmetadata.h b/src/libs/registry/docsetmetadata.h index b9af9dc1..a9adadd2 100644 --- a/src/libs/registry/docsetmetadata.h +++ b/src/libs/registry/docsetmetadata.h @@ -59,7 +59,7 @@ class DocsetMetadata QString m_title; QStringList m_aliases; QStringList m_versions; - int m_revision; + int m_revision = 0; QByteArray m_rawIcon; QByteArray m_rawIcon2x;