diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-03-03 13:25:55 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-03 13:29:22 -0800 |
commit | 7c535452f97947c0bf77a1da0323b86b9e514c8f (patch) | |
tree | b3b7d43a057605ac91c805777978c504e672ba2d /qt-ui/profile | |
parent | 917ce5aff50370e7dc4805920a4f5eec09884bb3 (diff) | |
download | subsurface-7c535452f97947c0bf77a1da0323b86b9e514c8f.tar.gz |
Whitespace cleanup
Minor change to the perl postprocessing script and resulting changes to
the affected source files.
This deals with two issues:
- "foreach"-like structures were not always treated correctly
- some longer calculations that ended on "+ constant" were reformatted in
a rather unatractive manner
In one source file (divelist.c) I ended up adding braces to the sources...
trying to cascade the indentation further down without having the block
there seemed a lot more trouble than it's worth.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile')
-rw-r--r-- | qt-ui/profile/divecartesianaxis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/profile/divecartesianaxis.cpp b/qt-ui/profile/divecartesianaxis.cpp index 2373b5f2f..585fe8076 100644 --- a/qt-ui/profile/divecartesianaxis.cpp +++ b/qt-ui/profile/divecartesianaxis.cpp @@ -238,9 +238,9 @@ void DiveCartesianAxis::updateTicks() } Q_FOREACH(DiveTextItem * item, labels) - item->setVisible(textVisibility); + item->setVisible(textVisibility); Q_FOREACH(DiveLineItem * item, lines) - item->setVisible(lineVisibility); + item->setVisible(lineVisibility); } void DiveCartesianAxis::animateChangeLine(const QLineF &newLine) |