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:
parent
eb6a563f8b
commit
7569003e87
|
@ -145,7 +145,9 @@ GroupWidget *Group::getGroupWidget()
|
||||||
|
|
||||||
QStringList Group::getPeerList() const
|
QStringList Group::getPeerList() const
|
||||||
{
|
{
|
||||||
return peers.values();
|
QStringList peerNames(peers.values());
|
||||||
|
peerNames.sort(Qt::CaseInsensitive);
|
||||||
|
return peerNames;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Group::setEventFlag(int f)
|
void Group::setEventFlag(int f)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user