From bd084f9181443f59487aab67d11eea829699595f Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 5 Dec 2024 18:40:16 +0300 Subject: [PATCH] Fixed blink of submenu in profile section on section destroy. --- Telegram/SourceFiles/info/info_wrap_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/info/info_wrap_widget.cpp b/Telegram/SourceFiles/info/info_wrap_widget.cpp index 24b133d38..7713574f2 100644 --- a/Telegram/SourceFiles/info/info_wrap_widget.cpp +++ b/Telegram/SourceFiles/info/info_wrap_widget.cpp @@ -505,7 +505,7 @@ void WrapWidget::showTopBarMenu(bool check) { return; } _topBarMenu = base::make_unique_q( - this, + QWidget::window(), st::popupMenuExpandedSeparator); _topBarMenu->setDestroyedCallback([this] {