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] {