mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Added ability to open profile of user by click on userpic in gift box.
This commit is contained in:
@@ -2276,10 +2276,10 @@ void GiftBox(
|
|||||||
&& uniqueDisallowed;
|
&& uniqueDisallowed;
|
||||||
|
|
||||||
content->add(
|
content->add(
|
||||||
object_ptr<CenterWrap<>>(
|
object_ptr<CenterWrap<UserpicButton>>(
|
||||||
content,
|
content,
|
||||||
object_ptr<UserpicButton>(content, peer, stUser))
|
object_ptr<UserpicButton>(content, peer, stUser))
|
||||||
)->setAttribute(Qt::WA_TransparentForMouseEvents);
|
)->entity()->setClickedCallback([=] { window->showPeerInfo(peer); });
|
||||||
AddSkip(content);
|
AddSkip(content);
|
||||||
AddSkip(content);
|
AddSkip(content);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user