mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Remove facades module.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user