mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Remove app module. Support delayed quit by Cmd+Q on macOS.
This commit is contained in:
@@ -52,7 +52,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "data/data_user.h"
|
||||
#include "data/data_changes.h"
|
||||
#include "mainwidget.h"
|
||||
#include "app.h"
|
||||
#include "styles/style_window.h"
|
||||
#include "styles/style_widgets.h"
|
||||
#include "styles/style_dialogs.h"
|
||||
@@ -1214,7 +1213,7 @@ void MainMenu::initResetScaleButton() {
|
||||
_resetScaleButton->addClickHandler([] {
|
||||
cSetConfigScale(style::kScaleDefault);
|
||||
Local::writeSettings();
|
||||
App::restart();
|
||||
Core::Restart();
|
||||
});
|
||||
_resetScaleButton->show();
|
||||
updateControlsGeometry();
|
||||
|
Reference in New Issue
Block a user