mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Minor cleanup
This commit is contained in:
parent
11d4ec2599
commit
fd60674664
|
@ -81,10 +81,5 @@ Friend* FriendList::findFriend(const ToxID& userId)
|
|||
|
||||
QList<Friend*> FriendList::getAllFriends()
|
||||
{
|
||||
QList<Friend*> res;
|
||||
|
||||
for (auto it : friendList)
|
||||
res.append(it);
|
||||
|
||||
return res;
|
||||
return friendList.values();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user