mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Random white space cleanup
Because I can. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2ec6303f50
commit
6ccb541f1d
13 changed files with 38 additions and 39 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue