added brace wrapping after if and for

This commit is contained in:
fourtf
2018-10-21 13:43:02 +02:00
parent c6e1ec3c71
commit e259b9e39f
138 changed files with 4738 additions and 2237 deletions
+10 -5
View File
@@ -20,13 +20,18 @@ void initUpdateButton(Button &button,
dialog->raise();
dialog->buttonClicked.connect([&button](auto buttonType) {
switch (buttonType) {
case UpdateDialog::Dismiss: {
switch (buttonType)
{
case UpdateDialog::Dismiss:
{
button.hide();
} break;
case UpdateDialog::Install: {
}
break;
case UpdateDialog::Install:
{
Updates::getInstance().installUpdates();
} break;
}
break;
}
});