settingsview: fix alignments and homogeneize items
Change-Id: I8ea60715a14b481da5c4d4d0078dc8de7df28eec
diff --git a/src/accountadapter.cpp b/src/accountadapter.cpp
index 2358ece..edeb1a6 100644
--- a/src/accountadapter.cpp
+++ b/src/accountadapter.cpp
@@ -373,6 +373,16 @@
QObject::disconnect(accountStatusChangedConnection_);
QObject::disconnect(contactAddedConnection_);
+ QObject::disconnect(accountProfileChangedConnection_);
+ QObject::disconnect(addedToConferenceConnection_);
+
+ accountProfileChangedConnection_
+ = QObject::connect(&LRCInstance::accountModel(),
+ &lrc::api::NewAccountModel::profileUpdated,
+ [this](const QString& accountId) {
+ if (LRCInstance::getCurrAccId() == accountId)
+ emit accountStatusChanged();
+ });
accountStatusChangedConnection_
= QObject::connect(accInfo.accountModel,
@@ -401,7 +411,7 @@
emit updateConversationForAddedContact();
}
});
- QObject::disconnect(addedToConferenceConnection_);
+
addedToConferenceConnection_
= QObject::connect(accInfo.callModel.get(),
&NewCallModel::callAddedToConference,