mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Use qualified names for App::main and App::wnd.
This commit is contained in:
@@ -1529,12 +1529,12 @@ namespace App {
|
||||
}
|
||||
setLaunchState(QuitRequested);
|
||||
|
||||
if (auto window = wnd()) {
|
||||
if (auto window = App::wnd()) {
|
||||
if (!Sandbox::isSavingSession()) {
|
||||
window->hide();
|
||||
}
|
||||
}
|
||||
if (auto mainwidget = main()) {
|
||||
if (auto mainwidget = App::main()) {
|
||||
mainwidget->saveDraftToCloud();
|
||||
}
|
||||
Messenger::QuitAttempt();
|
||||
|
Reference in New Issue
Block a user