2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use Window::Controller to manage MainWindow.

This commit is contained in:
John Preston
2019-06-06 14:20:21 +03:00
parent a547f80ae9
commit dd68c7e90d
18 changed files with 229 additions and 61 deletions

View File

@@ -44,7 +44,7 @@ class MainWindow : public Platform::MainWindow {
Q_OBJECT
public:
MainWindow();
explicit MainWindow(not_null<Window::Controller*> controller);
~MainWindow();
void firstShow();