Browse Source

refactor(friendwidget): Make fields private, remove unused

reviewable/pr4540/r4
Diadlo 8 years ago
parent
commit
bd99e10ac1
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727
  1. 1
      src/widget/friendwidget.cpp
  2. 1
      src/widget/friendwidget.h

1
src/widget/friendwidget.cpp

@ -60,7 +60,6 @@ FriendWidget::FriendWidget(const Friend* f, bool compact) @@ -60,7 +60,6 @@ FriendWidget::FriendWidget(const Friend* f, bool compact)
: GenericChatroomWidget(compact)
, frnd{f}
, isDefaultAvatar{true}
, historyLoaded{false}
{
avatar->setPixmap(QPixmap(":/img/contact.svg"));
statusPic.setPixmap(QPixmap(":/img/status/dot_offline.svg"));

1
src/widget/friendwidget.h

@ -59,7 +59,6 @@ protected: @@ -59,7 +59,6 @@ protected:
public:
const Friend* frnd;
bool isDefaultAvatar;
bool historyLoaded;
};
#endif // FRIENDWIDGET_H

Loading…
Cancel
Save