mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-24 16:53:51 +02:00
misc: replace non-exist updateSmartList function to setAccount
Change-Id: I692b11c88fbd4a957dfe9775ea44d63b8e34b190
This commit is contained in:
parent
e5a75ad7e7
commit
2c9c452b36
1 changed files with 3 additions and 8 deletions
|
@ -228,9 +228,7 @@ ConversationsAdapter::connectConversationModel()
|
||||||
&lrc::api::ConversationModel::filterChanged,
|
&lrc::api::ConversationModel::filterChanged,
|
||||||
[this]() {
|
[this]() {
|
||||||
conversationSmartListModel_->fillConversationsList();
|
conversationSmartListModel_->fillConversationsList();
|
||||||
QMetaObject::invokeMethod(qmlObj_,
|
conversationSmartListModel_->setAccount(LRCInstance::getCurrAccId());
|
||||||
"updateSmartList",
|
|
||||||
Q_ARG(QVariant, LRCInstance::getCurrAccId()));
|
|
||||||
updateConversationsFilterWidget();
|
updateConversationsFilterWidget();
|
||||||
QMetaObject::invokeMethod(qmlObj_, "updateConversationSmartListView");
|
QMetaObject::invokeMethod(qmlObj_, "updateConversationSmartListView");
|
||||||
});
|
});
|
||||||
|
@ -239,9 +237,7 @@ ConversationsAdapter::connectConversationModel()
|
||||||
&lrc::api::ConversationModel::newConversation,
|
&lrc::api::ConversationModel::newConversation,
|
||||||
[this](const QString &convUid) {
|
[this](const QString &convUid) {
|
||||||
conversationSmartListModel_->fillConversationsList();
|
conversationSmartListModel_->fillConversationsList();
|
||||||
QMetaObject::invokeMethod(qmlObj_,
|
conversationSmartListModel_->setAccount(LRCInstance::getCurrAccId());
|
||||||
"updateSmartList",
|
|
||||||
Q_ARG(QVariant, LRCInstance::getCurrAccId()));
|
|
||||||
updateConversationForNewContact(convUid);
|
updateConversationForNewContact(convUid);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -280,8 +276,7 @@ ConversationsAdapter::connectConversationModel()
|
||||||
&lrc::api::ConversationModel::searchResultUpdated,
|
&lrc::api::ConversationModel::searchResultUpdated,
|
||||||
[this]() {
|
[this]() {
|
||||||
conversationSmartListModel_->fillConversationsList();
|
conversationSmartListModel_->fillConversationsList();
|
||||||
QMetaObject::invokeMethod(qmlObj_, "updateSmartList",
|
conversationSmartListModel_->setAccount(LRCInstance::getCurrAccId());
|
||||||
Q_ARG(QVariant, LRCInstance::getCurrAccId()));
|
|
||||||
QMetaObject::invokeMethod(qmlObj_, "updateConversationSmartListView");
|
QMetaObject::invokeMethod(qmlObj_, "updateConversationSmartListView");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue