diff --git a/Telegram/SourceFiles/calls/group/calls_group_panel.cpp b/Telegram/SourceFiles/calls/group/calls_group_panel.cpp index f62d2afdb1..721a7c2349 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);