mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
fix(ContactModel): destroy correctly vcard
This commit is contained in:
parent
3948f67c07
commit
35efad0213
1 changed files with 1 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ void ContactModel::setVcardModelInternal (VcardModel *vcardModel) {
|
|||
mVcardModel->mIsReadOnly = true;
|
||||
|
||||
App::getInstance()->getEngine()->setObjectOwnership(mVcardModel, QQmlEngine::CppOwnership);
|
||||
mVcardModel->setParent(this);
|
||||
|
||||
if (mLinphoneFriend->getVcard() != vcardModel->mVcard)
|
||||
mLinphoneFriend->setVcard(vcardModel->mVcard);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue