Commit 07465fac authored by Ronan Abhamon's avatar Ronan Abhamon

fix(main): use nice indentation with lambdas

parent 93c4aeea
...@@ -27,9 +27,9 @@ int exec (App &app, QQmlApplicationEngine &engine) { ...@@ -27,9 +27,9 @@ int exec (App &app, QQmlApplicationEngine &engine) {
// Left click action. // Left click action.
root->connect(tray_icon, &QSystemTrayIcon::activated, [&root](QSystemTrayIcon::ActivationReason reason) { root->connect(tray_icon, &QSystemTrayIcon::activated, [&root](QSystemTrayIcon::ActivationReason reason) {
if (reason == QSystemTrayIcon::DoubleClick) if (reason == QSystemTrayIcon::DoubleClick)
root->showNormal(); root->showNormal();
}); });
menu->addAction(restoreAction); menu->addAction(restoreAction);
menu->addSeparator(); menu->addSeparator();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment