some sorting in roster

This commit is contained in:
Blue 2019-09-24 12:21:29 +03:00
parent 100b2e8943
commit e4d1e21ea0
7 changed files with 89 additions and 5 deletions

View file

@ -313,3 +313,13 @@ void Models::Contact::toOfflineState()
emit childRemoved();
refresh();
}
QString Models::Contact::getDisplayedName() const
{
return getContactName();
}
bool Models::Contact::columnInvolvedInDisplay(int col)
{
return Item::columnInvolvedInDisplay(col) && col == 1;
}