2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Replace ContactsBox with PeerListBox in two cases.

- View contacts list in PeerListBox.
- Add participants when creating group / channel in PeerListBox.
This commit is contained in:
John Preston
2017-08-14 15:53:49 +03:00
parent 17cef93ac0
commit f7359093b4
31 changed files with 825 additions and 393 deletions

View File

@@ -181,7 +181,7 @@ private:
MessageSearch = 0x08,
All = 0x0F,
};
Q_DECLARE_FLAGS(UpdateRowSections, UpdateRowSection);
using UpdateRowSections = QFlags<UpdateRowSection>;
Q_DECLARE_FRIEND_OPERATORS_FOR_FLAGS(UpdateRowSections);
void updateDialogRow(PeerData *peer, MsgId msgId, QRect updateRect, UpdateRowSections sections = UpdateRowSection::All);