Fix calls
This commit is contained in:
parent
e7c6f625a3
commit
358e5cb18f
2 changed files with 2 additions and 0 deletions
|
|
@ -253,6 +253,7 @@ std::unique_ptr<PeerListRow> InviteContactsController::createRow(
|
||||||
Panel::Panel(not_null<GroupCall*> call)
|
Panel::Panel(not_null<GroupCall*> call)
|
||||||
: _call(call)
|
: _call(call)
|
||||||
, _peer(call->peer())
|
, _peer(call->peer())
|
||||||
|
, _window(std::make_unique<Ui::Window>())
|
||||||
, _layerBg(std::make_unique<Ui::LayerManager>(_window->body()))
|
, _layerBg(std::make_unique<Ui::LayerManager>(_window->body()))
|
||||||
#ifndef Q_OS_MAC
|
#ifndef Q_OS_MAC
|
||||||
, _controls(std::make_unique<Ui::Platform::TitleControls>(
|
, _controls(std::make_unique<Ui::Platform::TitleControls>(
|
||||||
|
|
|
||||||
|
|
@ -184,6 +184,7 @@ void Panel::Incoming::fillBottomShadow(QPainter &p) {
|
||||||
Panel::Panel(not_null<Call*> call)
|
Panel::Panel(not_null<Call*> call)
|
||||||
: _call(call)
|
: _call(call)
|
||||||
, _user(call->user())
|
, _user(call->user())
|
||||||
|
, _window(std::make_unique<Ui::Window>())
|
||||||
#ifndef Q_OS_MAC
|
#ifndef Q_OS_MAC
|
||||||
, _controls(std::make_unique<Ui::Platform::TitleControls>(
|
, _controls(std::make_unique<Ui::Platform::TitleControls>(
|
||||||
_window->body(),
|
_window->body(),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue