Gui: use new-style connect and add curly braces to improve readability

This commit is contained in:
wmayer
2022-11-10 20:08:31 +01:00
committed by wwmayer
parent ee4e64328e
commit 07224605dc
5 changed files with 55 additions and 26 deletions

View File

@@ -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);
}