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

Minor cleanup

This commit is contained in:
Dubslow 2015-02-12 23:50:33 -06:00
parent 11d4ec2599
commit fd60674664
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -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();
}