From 9ed5cf16a4a0f982f0fae170740ee2886f634a14 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 23 Feb 2019 18:31:02 +0100 Subject: 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 --- desktop-widgets/filterwidget2.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'desktop-widgets/filterwidget2.cpp') diff --git a/desktop-widgets/filterwidget2.cpp b/desktop-widgets/filterwidget2.cpp index f106c354e..d95311da3 100644 --- a/desktop-widgets/filterwidget2.cpp +++ b/desktop-widgets/filterwidget2.cpp @@ -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(); -- cgit v1.2.3-70-g09d2