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:
parent
f2aada8f4f
commit
f1543144be
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user