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
+4 -2
View File
@@ -23,7 +23,8 @@ SettingsDialogTab::SettingsDialogTab(SettingsDialog *_dialog,
void SettingsDialogTab::setSelected(bool _selected)
{
if (this->selected_ == _selected) {
if (this->selected_ == _selected)
{
return;
}
@@ -61,7 +62,8 @@ void SettingsDialogTab::paintEvent(QPaintEvent *)
void SettingsDialogTab::mousePressEvent(QMouseEvent *event)
{
if (event->button() != Qt::LeftButton) {
if (event->button() != Qt::LeftButton)
{
return;
}