diff --git a/src/lastusednumbermodel.cpp b/src/lastusednumbermodel.cpp index 190bb05e2e104cd6fa66653745ee5e537322e58f..ed37382185e453463c728e2f6da4f15a81e5b7b9 100644 --- a/src/lastusednumbermodel.cpp +++ b/src/lastusednumbermodel.cpp @@ -39,7 +39,7 @@ public: ChainedContactMethod* m_pFirstNode; QHash<ContactMethod*,ChainedContactMethod*> m_hNumbers; bool m_IsValid; - ChainedContactMethod* m_lLastNumbers[MAX_ITEM]; + ChainedContactMethod* m_lLastNumbers[MAX_ITEM] {}; }; LastUsedNumberModelPrivate::LastUsedNumberModelPrivate():m_pFirstNode(nullptr),m_IsValid(false)