mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove app module. Support delayed quit by Cmd+Q on macOS.
This commit is contained in:
@@ -35,7 +35,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "webrtc/webrtc_create_adm.h" // Webrtc::Backend.
|
||||
#include "tgcalls/VideoCaptureInterface.h"
|
||||
#include "facades.h"
|
||||
#include "app.h" // App::restart().
|
||||
#include "styles/style_layers.h"
|
||||
|
||||
namespace Settings {
|
||||
@@ -453,7 +452,7 @@ object_ptr<Ui::GenericBox> ChooseAudioInputBox(
|
||||
// Core::App().settings().setCallAudioBackend(
|
||||
// static_cast<Webrtc::Backend>(option));
|
||||
// Core::App().saveSettings();
|
||||
// App::restart();
|
||||
// Core::Restart();
|
||||
// };
|
||||
// return Box([=](not_null<Ui::GenericBox*> box) {
|
||||
// SingleChoiceBox(box, {
|
||||
|
Reference in New Issue
Block a user