summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-15 04:37:31 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-15 04:37:31 -0700
commit6ccb541f1dc22295e61195aeac532f9f46cb0253 (patch)
treed941f9e0b58b0221e9e0bfd387c4bb9eae94e98b /qt-ui/divelistview.cpp
parent2ec6303f50ee2811aa0504372ddd61227157572b (diff)
downloadsubsurface-6ccb541f1dc22295e61195aeac532f9f46cb0253.tar.gz
Random white space cleanup
Because I can. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r--qt-ui/divelistview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 886d103c6..a14edd09d 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -301,16 +301,16 @@ void DiveListView::selectionChanged(const QItemSelection& selected, const QItemS
void DiveListView::mergeDives()
{
int i;
- struct dive *dive, *maindive = NULL;
+ struct dive *dive, *maindive = NULL;
- for_each_dive(i, dive) {
- if (dive->selected) {
+ for_each_dive(i, dive) {
+ if (dive->selected) {
if (!maindive)
maindive = dive;
else
maindive = merge_two_dives(maindive, dive);
- }
- }
+ }
+ }
mainWindow()->refreshDisplay();
}