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

@@ -27,7 +27,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "apiwrap.h"
#include "mainwidget.h"
#include "auth_session.h"
#include "window/window_controller.h"
#include "window/window_session_controller.h"
#include "ui/widgets/scroll_area.h"
#include "ui/widgets/labels.h"
#include "observer_peer.h"
@@ -42,7 +42,10 @@ constexpr auto kInlineBotRequestDelay = 400;
} // namespace
Inner::Inner(QWidget *parent, not_null<Window::Controller*> controller) : TWidget(parent)
Inner::Inner(
QWidget *parent,
not_null<Window::SessionController*> controller)
: TWidget(parent)
, _controller(controller)
, _updateInlineItems([=] { updateInlineItems(); })
, _previewTimer([=] { showPreview(); }) {
@@ -720,7 +723,7 @@ void Inner::onSwitchPm() {
Widget::Widget(
QWidget *parent,
not_null<Window::Controller*> controller)
not_null<Window::SessionController*> controller)
: RpWidget(parent)
, _controller(controller)
, _contentMaxHeight(st::emojiPanMaxHeight)