Browse Source

fix(friendlistwidget): use nullptr instead of `0`

thanks to @sudden6's suggestion
pull/3293/head
Zetok Zalbavar 9 years ago
parent
commit
f1543144be
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 2
      src/widget/friendlistwidget.cpp

2
src/widget/friendlistwidget.cpp

@ -289,7 +289,7 @@ void FriendListWidget::setMode(Mode mode) @@ -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…
Cancel
Save