Skip to content
Snippets Groups Projects
Commit 64adddc2 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

conversationmodel: avoid useless signal emition

This signal cause performances issues and is unnecessary there

Change-Id: I8fdfc5793320cd422b2cdb9b4510f8bf3becf186
parent 05851d58
Branches
No related tags found
No related merge requests found
...@@ -1768,10 +1768,8 @@ ConversationModelPimpl::slotContactModelUpdated(const QString& uri, bool needsSo ...@@ -1768,10 +1768,8 @@ ConversationModelPimpl::slotContactModelUpdated(const QString& uri, bool needsSo
} }
if (currentFilter.isEmpty()) { if (currentFilter.isEmpty()) {
if (searchResults.empty()) { if (searchResults.empty())
emit linked.modelChanged();
return; return;
}
searchResults.clear(); searchResults.clear();
emit linked.searchResultUpdated(); emit linked.searchResultUpdated();
return; return;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment