astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2018-06-19 14:02:58 +02:00
parent eb978ee192
commit 73a5aafba4
1 changed files with 4 additions and 4 deletions

View File

@ -121,8 +121,8 @@ void LibraryDialog::openCfg()
mUi->functions->clear(); mUi->functions->clear();
for (CppcheckLibraryData::Function &function : mData.functions) { for (CppcheckLibraryData::Function &function : mData.functions) {
mUi->functions->addItem(new FunctionListItem(mUi->functions, mUi->functions->addItem(new FunctionListItem(mUi->functions,
&function, &function,
false)); false));
} }
mUi->sortFunctions->setEnabled(!mData.functions.empty()); mUi->sortFunctions->setEnabled(!mData.functions.empty());
mUi->filter->setEnabled(!mData.functions.empty()); mUi->filter->setEnabled(!mData.functions.empty());
@ -262,8 +262,8 @@ void LibraryDialog::sortFunctions(bool sort)
mUi->functions->clear(); mUi->functions->clear();
for (CppcheckLibraryData::Function &function : mData.functions) { for (CppcheckLibraryData::Function &function : mData.functions) {
mUi->functions->addItem(new FunctionListItem(mUi->functions, mUi->functions->addItem(new FunctionListItem(mUi->functions,
&function, &function,
selfunction == &function)); selfunction == &function));
} }
if (!mUi->filter->text().isEmpty()) if (!mUi->filter->text().isEmpty())
filterFunctions(mUi->filter->text()); filterFunctions(mUi->filter->text());