astyle formatting

This commit is contained in:
Daniel Marjamäki 2015-08-23 13:34:50 +02:00
parent ea7209e669
commit 43953b30fb
1 changed files with 7 additions and 8 deletions

View File

@ -240,8 +240,7 @@ void LibraryDialog::selectFunction(int row)
void LibraryDialog::changeFunction()
{
foreach (const QListWidgetItem *item, ui->functions->selectedItems())
{
foreach(const QListWidgetItem *item, ui->functions->selectedItems()) {
Function &function = functions[ui->functions->row(item)];
function.noreturn = !ui->functionreturn->isChecked();
function.useretval = ui->useretval->isChecked();