2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-21 14:56:23 +00:00

Added Window::Controller pointer to data of intro widget.

This commit is contained in:
23rd
2021-02-21 06:51:30 +03:00
committed by John Preston
parent c25779b844
commit 570ed5691d
3 changed files with 12 additions and 1 deletions

View File

@@ -63,10 +63,12 @@ using namespace ::Intro::details;
Widget::Widget(
QWidget *parent,
not_null<Window::Controller*> controller,
not_null<Main::Account*> account,
EnterPoint point)
: RpWidget(parent)
, _account(account)
, _data(details::Data{ .controller = controller })
, _back(this, object_ptr<Ui::IconButton>(this, st::introBackButton))
, _settings(
this,