Browse Source

refactor(friend): Remove obsolete code from Friend class

pull/4240/head
Diadlo 9 years ago
parent
commit
ec81b07bb3
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727
  1. 2
      src/friend.cpp
  2. 1
      src/friend.h

2
src/friend.cpp

@ -39,8 +39,6 @@ Friend::Friend(uint32_t friendId, const ToxPk& friendPk) @@ -39,8 +39,6 @@ Friend::Friend(uint32_t friendId, const ToxPk& friendPk)
userName = friendPk.toString();
}
userAlias = Settings::getInstance().getFriendAlias(friendPk);
chatForm = new ChatForm(this);
}

1
src/friend.h

@ -77,7 +77,6 @@ private: @@ -77,7 +77,6 @@ private:
bool hasNewEvents;
Status friendStatus;
FriendWidget* widget;
ChatForm* chatForm;
};

Loading…
Cancel
Save