diff --git a/src/api/newaccountmodel.h b/src/api/newaccountmodel.h index 0d1c23c6a1114e85ea6f419b154fd64382062614..f9a13dd9e25152bdc40f12a0a374fb3e71293c44 100644 --- a/src/api/newaccountmodel.h +++ b/src/api/newaccountmodel.h @@ -271,6 +271,11 @@ Q_SIGNALS: * @param accountID */ void accountStatusChanged(const QString& accountID); + /** + * Connect this signal to know when the details of an account has changed. + * @param accountID + */ + void accountDetailsChanged(const QString& accountID); /** * Connect this signal to know when an account was added. * @param accountID diff --git a/src/newaccountmodel.cpp b/src/newaccountmodel.cpp index 40769214aad09f06dc30cb50ef4d9210f0cc673d..abdf60a7876369f82652d06391154d48c467868e 100644 --- a/src/newaccountmodel.cpp +++ b/src/newaccountmodel.cpp @@ -566,7 +566,9 @@ NewAccountModelPimpl::slotAccountDetailsChanged(const QString& accountId, accountInfo.registeredName = new_username; emit linked.profileUpdated(accountId); } + // TODO: Remove accountStatusChanged here. emit linked.accountStatusChanged(accountId); + emit linked.accountDetailsChanged(accountId); } void