summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <mklapetek@kde.org>2016-02-11 03:12:35 (GMT)
committerAlexandr Akulich <akulichalexander@gmail.com>2016-09-21 12:45:29 (GMT)
commit58a0da25ce92f8ee6f8bf67a35caf160e7db8aae (patch)
tree7c9332ec6577d8520a0569416de302af03004b58
parent2706d8d60cedcdcc31067122c909797d506ff629 (diff)
[declarative] Init the ConversationPrivate members
Reviewed-by: Alexandr Akulich <akulichalexander@gmail.com>
-rw-r--r--KTp/Declarative/conversation.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/KTp/Declarative/conversation.cpp b/KTp/Declarative/conversation.cpp
index 5f752a1..14eb328 100644
--- a/KTp/Declarative/conversation.cpp
+++ b/KTp/Declarative/conversation.cpp
@@ -32,6 +32,14 @@
class Conversation::ConversationPrivate
{
public:
+ ConversationPrivate()
+ {
+ messages = 0;
+ delegated = false;
+ valid = false;
+ isGroupChat = false;
+ }
+
MessagesModel *messages;
//stores if the conversation has been delegated to another client and we are only observing the channel
//and not handling it.