mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Removed App:wnd for opening settings.
Removed unused App::showSettings from facades.
This commit is contained in:
@@ -930,8 +930,8 @@ void MainMenu::refreshMenu() {
|
||||
_controller->session().supportTemplates().reload();
|
||||
}, &st::mainMenuReload, &st::mainMenuReloadOver);
|
||||
}
|
||||
_menu->addAction(tr::lng_menu_settings(tr::now), [] {
|
||||
App::wnd()->showSettings();
|
||||
_menu->addAction(tr::lng_menu_settings(tr::now), [=] {
|
||||
controller->showSettings();
|
||||
}, &st::mainMenuSettings, &st::mainMenuSettingsOver);
|
||||
|
||||
_nightThemeAction = std::make_shared<QPointer<QAction>>();
|
||||
|
Reference in New Issue
Block a user