separating chat from conversation in ui

This commit is contained in:
Blue 2019-08-23 12:51:33 +03:00
parent 828d14c908
commit e2cc1bae2e
10 changed files with 150 additions and 65 deletions

View file

@ -241,7 +241,7 @@ void Squawk::onRosterItemDoubleClicked(const QModelIndex& item)
itr->second->setPalResource(res);
}
} else {
Conversation* conv = new Conversation(contact);
Chat* conv = new Chat(contact);
conv->setAttribute(Qt::WA_DeleteOnClose);
connect(conv, SIGNAL(destroyed(QObject*)), this, SLOT(onConversationClosed(QObject*)));