mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
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,
|
||||
const std::string &message) {
|
||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||
if (status == linphone::ConfiguringState::Successful) emit lUpdate();
|
||||
});
|
||||
|
||||
mModelConnection->makeConnectToModel(&CoreModel::configuringStatus,
|
||||
[this](const std::shared_ptr<linphone::Core> &core,
|
||||
linphone::ConfiguringState status, const std::string &message) {
|
||||
mustBeInLinphoneThread(log().arg(Q_FUNC_INFO));
|
||||
if (status == linphone::ConfiguringState::Successful) emit lUpdate();
|
||||
});
|
||||
|
||||
emit lUpdate();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue