diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-08-16 19:51:07 -1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-08-18 13:22:02 -0700 |
commit | 35adf2d72910d0cb287396b08717067d70c8ceb3 (patch) | |
tree | e1ee82b2d8cce7c89588323be10f26662fa6ba5e /core/configuredivecomputer.cpp | |
parent | 2da7e9e5ad15607bb3ef8b198650a688e8f49694 (diff) | |
download | subsurface-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