2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

Improved display some api errors in non-primary windows.

This commit is contained in:
23rd
2022-06-20 14:39:48 +03:00
parent d1c1b687c7
commit 1b754d14ae
3 changed files with 65 additions and 27 deletions

View File

@@ -1926,8 +1926,8 @@ Show::Show(not_null<SessionNavigation*> navigation)
: Show(&navigation->parentController()->window()) {
}
Show::Show(not_null<Controller*> window)
: _window(base::make_weak(window.get())) {
Show::Show(Controller *window)
: _window(base::make_weak(window)) {
}
Show::~Show() = default;