|
|
|
@ -537,6 +537,8 @@ void ChatWidget::insertChatlines(std::map<ChatLogIdx, ChatLine::Ptr> chatLines)
@@ -537,6 +537,8 @@ void ChatWidget::insertChatlines(std::map<ChatLogIdx, ChatLine::Ptr> chatLines)
|
|
|
|
|
auto idx = chatLine.first; |
|
|
|
|
auto const& l = chatLine.second; |
|
|
|
|
|
|
|
|
|
chatLineStorage->insertChatMessage(idx, chatLog.at(idx).getTimestamp(), l); |
|
|
|
|
|
|
|
|
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)) |
|
|
|
|
auto date = chatLog.at(idx).getTimestamp().date().startOfDay(); |
|
|
|
|
#else |
|
|
|
|