mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Prefix a method with 'dive_' because it should work only with dives
I'll probably add prefixes to functions to make it easier to find method via autocomplete from the grep or interface helpers, do you wanna know all the functions that works with a dive? ask for the completion for dive_, do you wanna know all the functions that works with a divelist? ask for the completions on divelist_ or run grep -rIs divelist_ on the header files. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
25e0fdcb16
commit
9e8c0c9366
3 changed files with 3 additions and 3 deletions
|
@ -260,7 +260,7 @@ QList<int> getDivesInTrip(dive_trip_t *trip)
|
|||
// it doesn't change during the life time of a Subsurface session
|
||||
// oh, and it has no meaning whatsoever - that's why we have the
|
||||
// silly initial number and increment by 3 :-)
|
||||
int getUniqID(struct dive *d)
|
||||
int dive_getUniqID(struct dive *d)
|
||||
{
|
||||
static QSet<int> ids;
|
||||
static int maxId = 83529;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue