mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Whitespace cleanup core divecomputer handling
Not entirely script based because of two odd issues where the script creates bogus indentation. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0e6c3db24c
commit
c7f0e65b12
2 changed files with 19 additions and 20 deletions
|
@ -1,8 +1,8 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "divecomputer.h"
|
||||
#include "dive.h"
|
||||
#include "subsurface-string.h"
|
||||
#include "subsurface-qt/SettingsObjectWrapper.h"
|
||||
#include "subsurface-string.h"
|
||||
|
||||
DiveComputerList dcList;
|
||||
|
||||
|
@ -89,8 +89,7 @@ static bool compareDCById(const DiveComputerNode &a, const DiveComputerNode &b)
|
|||
return a.deviceId < b.deviceId;
|
||||
}
|
||||
|
||||
extern "C" void call_for_each_dc (void *f, void (*callback)(void *, const char *, uint32_t,
|
||||
const char *, const char *, const char *),
|
||||
extern "C" void call_for_each_dc (void *f, void (*callback)(void *, const char *, uint32_t, const char *, const char *, const char *),
|
||||
bool select_only)
|
||||
{
|
||||
QVector<DiveComputerNode> values = dcList.dcs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue