mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 23:25:15 +00:00
Added Window::Controller pointer to data of intro widget.
This commit is contained in:
@@ -294,7 +294,11 @@ void MainWindow::setupIntro(Intro::EnterPoint point) {
|
||||
auto bg = animated ? grabInner() : QPixmap();
|
||||
|
||||
destroyLayer();
|
||||
auto created = object_ptr<Intro::Widget>(bodyWidget(), &account(), point);
|
||||
auto created = object_ptr<Intro::Widget>(
|
||||
bodyWidget(),
|
||||
&controller(),
|
||||
&account(),
|
||||
point);
|
||||
created->showSettingsRequested(
|
||||
) | rpl::start_with_next([=] {
|
||||
showSettings();
|
||||
|
Reference in New Issue
Block a user