1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #3830

initramfs (1):
      fix(chatform): remove std::dynamic_pointer_cast in favor of static cast
This commit is contained in:
initramfs 2016-10-26 05:31:14 -04:00
commit d5069dd834
No known key found for this signature in database
GPG Key ID: 3B6ECEC9C4DE199E

View File

@ -486,7 +486,7 @@ QString GenericChatForm::resolveToxId(const ToxId &id)
void GenericChatForm::insertChatMessage(ChatMessage::Ptr msg)
{
chatWidget->insertChatlineAtBottom(std::dynamic_pointer_cast<ChatLine>(msg));
chatWidget->insertChatlineAtBottom(std::static_pointer_cast<ChatLine>(msg));
emit messageInserted();
}