mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +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),
|
u"AyuGram"_q),
|
||||||
[=] {
|
[=] {
|
||||||
ensureWindowShown();
|
ensureWindowShown();
|
||||||
controller().show(Box<AboutBox>());
|
controller().show(Box<AboutBox>(sessionController()));
|
||||||
});
|
});
|
||||||
|
|
||||||
about->setMenuRole(QAction::AboutQtRole);
|
about->setMenuRole(QAction::AboutQtRole);
|
||||||
|
|
|
@ -369,7 +369,7 @@ void MainWindow::createGlobalMenu() {
|
||||||
{
|
{
|
||||||
auto callback = [=] {
|
auto callback = [=] {
|
||||||
ensureWindowShown();
|
ensureWindowShown();
|
||||||
controller().show(Box<AboutBox>());
|
controller().show(Box<AboutBox>(sessionController()));
|
||||||
};
|
};
|
||||||
main->addAction(
|
main->addAction(
|
||||||
tr::lng_mac_menu_about_telegram(
|
tr::lng_mac_menu_about_telegram(
|
||||||
|
|
Loading…
Add table
Reference in a new issue