Skip to content
Snippets Groups Projects
Commit f09b9a08 authored by Ming Rui Zhang's avatar Ming Rui Zhang Committed by Sébastien Blin
Browse files

misc: eliminate the warning of invalid map<K, T> key (map::at)

GitLab: #160

Change-Id: Ib2de72037d2e0b5fc7c29e5686f9336bbc7ed035
parent 33fd4f48
No related branches found
No related tags found
No related merge requests found
...@@ -343,7 +343,7 @@ SmartListModel::getConversationItemData(const conversation::Info& item, ...@@ -343,7 +343,7 @@ SmartListModel::getConversationItemData(const conversation::Info& item,
} }
case Role::CallStackViewShouldShow: { case Role::CallStackViewShouldShow: {
const auto& convInfo = lrcInstance_->getConversationFromConvUid(item.uid); const auto& convInfo = lrcInstance_->getConversationFromConvUid(item.uid);
if (!convInfo.uid.isEmpty()) { if (!convInfo.uid.isEmpty() && !convInfo.callId.isEmpty()) {
auto* callModel = lrcInstance_->getCurrentCallModel(); auto* callModel = lrcInstance_->getCurrentCallModel();
const auto& call = callModel->getCall(convInfo.callId); const auto& call = callModel->getCall(convInfo.callId);
return QVariant( return QVariant(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment