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/tab-widgets/maintab.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop-widgets/tab-widgets') diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 8b23eb147..fe4f6186a 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -1195,9 +1195,9 @@ void MainTab::escDetected() setFocus(); } -void MainTab::clearTabs() { - for (auto widget : extraWidgets) { +void MainTab::clearTabs() +{ + for (auto widget: extraWidgets) widget->clear(); - } clearEquipment(); } -- cgit v1.2.3-70-g09d2