mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Remove some more Auth() calls.
This commit is contained in:
@@ -314,9 +314,8 @@ namespace App {
|
||||
void quit() {
|
||||
if (quitting()) {
|
||||
return;
|
||||
} else if (Main::Session::Exists()
|
||||
&& Auth().data().exportInProgress()) {
|
||||
Auth().data().stopExportWithConfirmation([] { App::quit(); });
|
||||
} else if (Core::IsAppLaunched()
|
||||
&& Core::App().exportPreventsQuit()) {
|
||||
return;
|
||||
}
|
||||
setLaunchState(QuitRequested);
|
||||
|
Reference in New Issue
Block a user