aboutsummaryrefslogtreecommitdiffstats
path: root/core/configuredivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2021-08-16 19:51:07 -1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-08-18 13:22:02 -0700
commit35adf2d72910d0cb287396b08717067d70c8ceb3 (patch)
treee1ee82b2d8cce7c89588323be10f26662fa6ba5e /core/configuredivecomputer.cpp
parent2da7e9e5ad15607bb3ef8b198650a688e8f49694 (diff)
downloadsubsurface-35adf2d72910d0cb287396b08717067d70c8ceb3.tar.gz
Add (nonfunctional) dive computer rename hooks
This adds the menu item to rename a dive computer (ie create a nickname for it) when right-clicking on the dive computer name of a dive computer that has a serial number (indicated by having a non-zero ->deviceid). It is nonfunctional because it's really just the skeleton code: it needs the UI to actually ask for a new nickname, and then it needs to actually do the proper "create_device_node(model,serial,nickname)" to set it (or remove the nickname if empty). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'core/configuredivecomputer.cpp')
0 files changed, 0 insertions, 0 deletions