mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 06:59:45 +00:00
Update account list upon successfull remote provisioning
This commit is contained in:
parent
12d9fdb5ae
commit
62806c94c7
1 changed files with 8 additions and 1 deletions
|
|
@ -84,7 +84,14 @@ void AccountList::setSelf(QSharedPointer<AccountList> me) {
|
|||
});
|
||||
mModelConnection->makeConnectToModel(&CoreModel::accountRemoved, [this] { emit lUpdate(); });
|
||||
mModelConnection->makeConnectToModel(&CoreModel::accountAdded, [this] { emit lUpdate(); });
|
||||
|
||||
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();
|
||||
}
|
||||
});
|
||||
lUpdate(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue