Coding style: remove Java-style function definition

Remove a few cases of
	void fun() {
		...
	}

While touching these functions, fix a few other whitespace
coding style violations.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-02-23 18:31:02 +01:00 committed by Dirk Hohndel
parent 73a230b6e6
commit 9ed5cf16a4
10 changed files with 31 additions and 18 deletions

View file

@ -213,13 +213,15 @@ void FilterWidget2::updateFilter()
filterDataChanged(filterData);
}
void FilterWidget2::updateLogged(int value) {
void FilterWidget2::updateLogged(int value)
{
if (value == Qt::Unchecked)
ui.planned->setChecked(true);
updateFilter();
}
void FilterWidget2::updatePlanned(int value) {
void FilterWidget2::updatePlanned(int value)
{
if (value == Qt::Unchecked)
ui.logged->setChecked(true);
updateFilter();