2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35: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

@@ -258,7 +258,7 @@ void SetupHelp(not_null<Ui::VerticalLayout*> container) {
Main::Main(
QWidget *parent,
not_null<Window::Controller*> controller,
not_null<Window::SessionController*> controller,
not_null<UserData*> self)
: Section(parent)
, _self(self) {
@@ -270,7 +270,7 @@ void Main::keyPressEvent(QKeyEvent *e) {
return Section::keyPressEvent(e);
}
void Main::setupContent(not_null<Window::Controller*> controller) {
void Main::setupContent(not_null<Window::SessionController*> controller) {
const auto content = Ui::CreateChild<Ui::VerticalLayout>(this);
const auto cover = content->add(object_ptr<Info::Profile::Cover>(