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
No related branches found
No related tags found
No related merge requests found
......@@ -1768,10 +1768,8 @@ ConversationModelPimpl::slotContactModelUpdated(const QString& uri, bool needsSo
}
if (currentFilter.isEmpty()) {
if (searchResults.empty()) {
emit linked.modelChanged();
if (searchResults.empty())
return;
}
searchResults.clear();
emit linked.searchResultUpdated();
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment