1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Alphabetizes groupchat user list (fixes #701)

This commit is contained in:
zero-one 2015-01-02 02:26:58 -08:00
parent eb6a563f8b
commit 7569003e87

View File

@ -145,7 +145,9 @@ GroupWidget *Group::getGroupWidget()
QStringList Group::getPeerList() const
{
return peers.values();
QStringList peerNames(peers.values());
peerNames.sort(Qt::CaseInsensitive);
return peerNames;
}
void Group::setEventFlag(int f)