mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 14:48:15 +00:00
fix(main): use nice indentation with lambdas
This commit is contained in:
parent
93c4aeea5f
commit
07465facaf
1 changed files with 3 additions and 3 deletions
|
|
@ -27,9 +27,9 @@ int exec (App &app, QQmlApplicationEngine &engine) {
|
|||
|
||||
// Left click action.
|
||||
root->connect(tray_icon, &QSystemTrayIcon::activated, [&root](QSystemTrayIcon::ActivationReason reason) {
|
||||
if (reason == QSystemTrayIcon::DoubleClick)
|
||||
root->showNormal();
|
||||
});
|
||||
if (reason == QSystemTrayIcon::DoubleClick)
|
||||
root->showNormal();
|
||||
});
|
||||
|
||||
menu->addAction(restoreAction);
|
||||
menu->addSeparator();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue