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

merged inputfield, requesting channeldialogs

This commit is contained in:
John Preston
2015-09-03 16:15:07 +03:00
17 changed files with 1032 additions and 244 deletions

View File

@@ -951,6 +951,16 @@ void ProfileInner::resizeEvent(QResizeEvent *e) {
_blockUser.move(_left, top); top += _blockUser.height();
}
// actions
top += st::profileHeaderSkip;
_searchInPeer.move(_left, top); top += _searchInPeer.height() + st::setLittleSkip;
_clearHistory.move(_left, top); top += _clearHistory.height() + st::setLittleSkip;
_deleteConversation.move(_left, top); top += _deleteConversation.height();
if (_peerUser && peerToUser(_peerUser->id) != MTP::authedId()) {
top += st::setSectionSkip;
_blockUser.move(_left, top); top += _blockUser.height();
}
// participants
if (_peerChat && (_peerChat->count > 0 || !_participants.isEmpty())) {
top += st::profileHeaderSkip;