From 62806c94c771533e83ff75dc16c755898eb3bb7f Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Tue, 28 Jan 2025 11:53:09 +0100 Subject: [PATCH] Update account list upon successfull remote provisioning --- Linphone/core/account/AccountList.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Linphone/core/account/AccountList.cpp b/Linphone/core/account/AccountList.cpp index 6c2d6f4e8..d1025632b 100644 --- a/Linphone/core/account/AccountList.cpp +++ b/Linphone/core/account/AccountList.cpp @@ -84,7 +84,14 @@ void AccountList::setSelf(QSharedPointer 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 &core, linphone::ConfiguringState status, + const std::string &message) { + mustBeInLinphoneThread(log().arg(Q_FUNC_INFO)); + if (status == linphone::ConfiguringState::Successful) { + emit lUpdate(); + } + }); lUpdate(true); }