Fix succesfull configuration payload type list update threading
This commit is contained in:
parent
cfe3c49a68
commit
98cadf8b5d
1 changed files with 8 additions and 6 deletions
|
|
@ -94,12 +94,14 @@ void PayloadTypeList::setSelf(QSharedPointer<PayloadTypeList> me) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
QObject::connect(CoreModel::getInstance().get(), &CoreModel::configuringStatus, this,
|
|
||||||
[this](const std::shared_ptr<linphone::Core> &core, linphone::ConfiguringState status,
|
mModelConnection->makeConnectToModel(&CoreModel::configuringStatus,
|
||||||
const std::string &message) {
|
[this](const std::shared_ptr<linphone::Core> &core,
|
||||||
|
linphone::ConfiguringState status, const std::string &message) {
|
||||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||||
if (status == linphone::ConfiguringState::Successful) emit lUpdate();
|
if (status == linphone::ConfiguringState::Successful) emit lUpdate();
|
||||||
});
|
});
|
||||||
|
|
||||||
emit lUpdate();
|
emit lUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue