2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Rename Window::Controller to Window::SessionController.

This commit is contained in:
John Preston
2019-06-06 13:21:40 +03:00
parent 263bbf1788
commit a547f80ae9
123 changed files with 445 additions and 415 deletions

View File

@@ -12,7 +12,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "platform/platform_info.h"
#include "history/history.h"
#include "window/themes/window_theme.h"
#include "window/window_controller.h"
#include "window/window_session_controller.h"
#include "window/window_lock_widgets.h"
#include "window/window_outdated_bar.h"
#include "boxes/confirm_box.h"
@@ -130,7 +130,7 @@ MainWindow::MainWindow()
Core::App().activeAccount().sessionValue(
) | rpl::start_with_next([=](AuthSession *session) {
_controller = session
? std::make_unique<Window::Controller>(session, this)
? std::make_unique<Window::SessionController>(session, this)
: nullptr;
updateWindowIcon();
}, lifetime());