From d8724a63fb05cca00962a125647b2c4618ab4443 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 1 Mar 2022 16:15:40 +0300 Subject: [PATCH] Fix pin livestream on top button position. --- Telegram/SourceFiles/calls/group/calls_group_panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp index f62d2afdb..721a7c234 100644 --- a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp +++ b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp @@ -1147,7 +1147,7 @@ void Panel::subscribeToChanges(not_null real) { } void Panel::createPinOnTop() { - _pinOnTop.create(window(), st::groupCallPinOnTop); + _pinOnTop.create(widget(), st::groupCallPinOnTop); const auto pinned = [=] { const auto handle = window()->windowHandle(); return handle && (handle->flags() & Qt::WindowStaysOnTopHint);