mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-04 06:03:21 +02:00
misc: eliminate the warning of invalid map<K, T> key (map::at)
GitLab: #160 Change-Id: Ib2de72037d2e0b5fc7c29e5686f9336bbc7ed035
This commit is contained in:
parent
33fd4f486c
commit
f09b9a085a
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Reference in a new issue