mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-06 20:23:08 +00:00
feat(src/components/contact/ContactModel): add assert and update linphone
This commit is contained in:
parent
4b79ac94f3
commit
d09f5c3e8d
3 changed files with 4 additions and 2 deletions
|
|
@ -100,6 +100,8 @@ void ContactModel::setVcardModelInternal (VcardModel *vcardModel) {
|
|||
}
|
||||
|
||||
void ContactModel::updateSipAddresses (VcardModel *oldVcardModel) {
|
||||
Q_ASSERT(oldVcardModel != nullptr);
|
||||
|
||||
QVariantList oldSipAddresses = oldVcardModel->getSipAddresses();
|
||||
QVariantList sipAddresses = mVcardModel->getSipAddresses();
|
||||
QSet<QString> done;
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ ContactModel *ContactsListModel::addContact (VcardModel *vcard) {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
qInfo() << QStringLiteral("Add contact on vcard:") << vcard << contact;
|
||||
qInfo() << QStringLiteral("Add contact from vcard:") << contact << vcard;
|
||||
|
||||
int row = mList.count();
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 57114440b1e573cebd4104623b6ad16df40ac800
|
||||
Subproject commit 5fb392bccf5a317c1c9192cbc659699d8004ffae
|
||||
Loading…
Add table
Reference in a new issue