Gui: use new-style connect and add curly braces to improve readability
This commit is contained in:
@@ -532,8 +532,10 @@ void DlgCustomToolbars::changeEvent(QEvent *e)
|
||||
}
|
||||
ui->categoryBox->activated(ui->categoryBox->currentIndex());
|
||||
}
|
||||
else if (e->type() == QEvent::StyleChange)
|
||||
else if (e->type() == QEvent::StyleChange) {
|
||||
ui->categoryBox->activated(ui->categoryBox->currentIndex());
|
||||
}
|
||||
|
||||
QWidget::changeEvent(e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user