Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Commit

Permalink
fix(friendlistwidget): use nullptr instead of 0
Browse files Browse the repository at this point in the history
thanks to @sudden6's suggestion
  • Loading branch information
zetok committed May 14, 2016
1 parent f2aada8 commit f154314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/friendlistwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f154314

Please sign in to comment.