Changeset - 6ac59201016e
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-05-21 09:56:47
hanzz.k@gmail.com
Destroy all conversations when user logout
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/conversationmanager.cpp
Show inline comments
 
@@ -36,6 +36,9 @@ ConversationManager::ConversationManager(User *user, Component *component){
 
}
 

	
 
ConversationManager::~ConversationManager() {
 
	while(!m_convs.empty()) {
 
		delete (*m_convs.begin()).second;
 
	}
 
}
 

	
 
void ConversationManager::setConversation(Conversation *conv) {
0 comments (0 inline, 0 general)