mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor(friendwidget): Make fields private, remove unused
This commit is contained in:
parent
fe4a89d906
commit
bd99e10ac1
|
@ -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"));
|
||||
|
|
|
@ -59,7 +59,6 @@ protected:
|
|||
public:
|
||||
const Friend* frnd;
|
||||
bool isDefaultAvatar;
|
||||
bool historyLoaded;
|
||||
};
|
||||
|
||||
#endif // FRIENDWIDGET_H
|
||||
|
|
Loading…
Reference in New Issue
Block a user