summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-23 18:31:02 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit9ed5cf16a4a0f982f0fae170740ee2886f634a14 (patch)
tree4b2852b5ea4f915346fe7afcbbdd50e9d679f60d /desktop-widgets/tab-widgets/maintab.cpp
parent73a230b6e652f4bba1bf08cb21fec112a968ff0d (diff)
downloadsubsurface-9ed5cf16a4a0f982f0fae170740ee2886f634a14.tar.gz
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>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.cpp')
-rw-r--r--desktop-widgets/tab-widgets/maintab.cpp6
1 files changed, 3 insertions, 3 deletions
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();
}