2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Remove facades module.

This commit is contained in:
John Preston
2022-11-30 16:55:51 +04:00
parent eaed91263e
commit 01139e1b04
51 changed files with 93 additions and 229 deletions

View File

@@ -23,6 +23,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/data_session.h"
#include "main/main_session.h"
#include "main/main_session_settings.h"
#include "base/call_delayed.h"
#include "base/crc32hash.h"
#include "ui/toast/toast.h"
#include "ui/widgets/shadow.h"
@@ -32,7 +33,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "apiwrap.h"
#include "mainwindow.h"
#include "mainwidget.h" // session->content()->windowShown().
#include "facades.h"
#include "tray.h"
#include "styles/style_widgets.h"
#include "styles/style_window.h"
@@ -375,7 +375,7 @@ bool MainWindow::hideNoQuit() {
|| workMode == Core::Settings::WorkMode::WindowAndTray) {
if (minimizeToTray()) {
if (const auto controller = sessionController()) {
Ui::showChatsList(&controller->session());
controller->clearSectionStack();
}
return true;
}
@@ -389,7 +389,7 @@ bool MainWindow::hideNoQuit() {
controller().updateIsActiveBlur();
updateGlobalMenu();
if (const auto controller = sessionController()) {
Ui::showChatsList(&controller->session());
controller->clearSectionStack();
}
return true;
}