Commit 07465fac authored by Ronan's avatar Ronan
Browse files

fix(main): use nice indentation with lambdas

parent 93c4aeea
......@@ -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();
......
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