mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
fix: build on Linux/macOS
This commit is contained in:
parent
7dda5461ad
commit
25821ba338
2 changed files with 2 additions and 2 deletions
|
@ -431,7 +431,7 @@ void MainWindow::createGlobalMenu() {
|
|||
u"AyuGram"_q),
|
||||
[=] {
|
||||
ensureWindowShown();
|
||||
controller().show(Box<AboutBox>());
|
||||
controller().show(Box<AboutBox>(sessionController()));
|
||||
});
|
||||
|
||||
about->setMenuRole(QAction::AboutQtRole);
|
||||
|
|
|
@ -369,7 +369,7 @@ void MainWindow::createGlobalMenu() {
|
|||
{
|
||||
auto callback = [=] {
|
||||
ensureWindowShown();
|
||||
controller().show(Box<AboutBox>());
|
||||
controller().show(Box<AboutBox>(sessionController()));
|
||||
};
|
||||
main->addAction(
|
||||
tr::lng_mac_menu_about_telegram(
|
||||
|
|
Loading…
Add table
Reference in a new issue