mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Removed App::wnd for opening about box.
This commit is contained in:
@@ -1107,12 +1107,9 @@ void MainWindow::createGlobalMenu() {
|
||||
tr::now,
|
||||
lt_telegram,
|
||||
qsl("Telegram")),
|
||||
[] {
|
||||
if (App::wnd() && App::wnd()->isHidden()) {
|
||||
App::wnd()->showFromTray();
|
||||
}
|
||||
|
||||
Ui::show(Box<AboutBox>());
|
||||
[=] {
|
||||
ensureWindowShown();
|
||||
controller().show(Box<AboutBox>());
|
||||
});
|
||||
|
||||
about->setMenuRole(QAction::AboutQtRole);
|
||||
|
Reference in New Issue
Block a user