mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove some App::wnd() occurences.
This commit is contained in:
@@ -80,6 +80,9 @@ MainWindow::MainWindow() : QWidget()
|
||||
}
|
||||
|
||||
bool MainWindow::hideNoQuit() {
|
||||
if (App::quitting()) {
|
||||
return false;
|
||||
}
|
||||
if (Global::WorkMode().value() == dbiwmTrayOnly || Global::WorkMode().value() == dbiwmWindowAndTray) {
|
||||
if (minimizeToTray()) {
|
||||
Ui::showChatsList();
|
||||
|
Reference in New Issue
Block a user