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

@ -309,3 +309,13 @@ void Models::Room::setSubject(const QString& sub)
changed(6);
}
}
QString Models::Room::getDisplayedName() const
{
return getRoomName();
}
bool Models::Room::columnInvolvedInDisplay(int col)
{
return Item::columnInvolvedInDisplay(col) && col == 1;
}