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

fix(friendlistwidget): use nullptr instead of 0

thanks to @sudden6's suggestion
This commit is contained in:
Zetok Zalbavar 2016-05-14 19:57:10 +01:00
parent f2aada8f4f
commit f1543144be
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -289,7 +289,7 @@ void FriendListWidget::setMode(Mode mode)
activityLayout->addWidget(categoryNever);
delete ql;
ql = 0;
ql = nullptr;
QList<Friend*> friendList = FriendList::getAllFriends();
for (Friend* contact : friendList)