mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Added ability to open profile of user by click on userpic in gift box.
This commit is contained in:
parent
ecac3a0f16
commit
4f0fa66575
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue